mirror of https://github.com/fairyglade/ly.git
[Backport] Fix buffer not resizing with no animation
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
ac91704c56
commit
1b9286166e
|
|
@ -633,7 +633,7 @@ pub fn main() !void {
|
|||
|
||||
while (run) {
|
||||
// If there's no input or there's an animation, a resolution change needs to be checked
|
||||
if (!update or animate) {
|
||||
if (!update or animate or config.bigclock != .none or config.clock != null) {
|
||||
if (!update) std.Thread.sleep(std.time.ns_per_ms * 100);
|
||||
|
||||
_ = termbox.tb_present(); // Required to update tb_width() and tb_height()
|
||||
|
|
|
|||
Loading…
Reference in New Issue