positionWidgets: Less integer overflows possible

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

No files matched your search

+2 -1
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| {