mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-06 18:21:46 +00:00
positionWidgets: Less integer overflows possible
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
3 files changed
+20
-9
No files matched your search
@@ -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| {
|
||||
|
||||
Reference in new issue
Block a user