fix(terminal): correctly restore termios and screen's during panic_handler
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m1s

This commit is contained in:
2025-10-19 11:44:17 +02:00
parent fee3c796d9
commit 8f90f57f44
2 changed files with 7 additions and 8 deletions

View File

@@ -197,7 +197,7 @@ pub fn enableRawMode(bak: *posix.termios) !void {
}
/// Reverts `enableRawMode` to restore initial functionality.
pub fn disableRawMode(bak: *posix.termios) !void {
pub fn disableRawMode(bak: *const posix.termios) !void {
try posix.tcsetattr(
posix.STDIN_FILENO,
.FLUSH,