mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-23 14:04:20 +02:00
positionWidgets: Less integer overflows possible
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
d00780d6ce
commit
84950136c9
3 changed files with 20 additions and 9 deletions
|
|
@ -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| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue