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
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m1s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user