positionWidgets: Less integer overflows possible

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-07-10 00:15:07 +02:00
parent d00780d6ce
commit 84950136c9
3 changed files with 20 additions and 9 deletions

View File

@@ -269,7 +269,8 @@ pub fn runEventLoop(
}
}
try TerminalBuffer.presentBuffer();
// We don't care about present errors here
TerminalBuffer.presentBuffer() catch {};
}
if (inactivity_event_fn) |inactivity_fn| {