mirror of
https://github.com/fairyglade/ly.git
synced 2026-03-21 22:43:38 +00:00
[Backport] Fix buffer not resizing with no animation
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user