mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-09 07:09:13 +02:00
[Backport] Fix buffer not resizing with no animation
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
ac91704c56
commit
1b9286166e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue