mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
termio: on restore mode we need to call setMode no matter what
This commit is contained in:
@ -1205,7 +1205,7 @@ const StreamHandler = struct {
|
||||
// side effects and we want to make sure we process those.
|
||||
const v = self.terminal.modes.restore(mode);
|
||||
// log.debug("restore mode={} v={}", .{ mode, v });
|
||||
if (v) try self.setMode(mode, true);
|
||||
try self.setMode(mode, v);
|
||||
}
|
||||
|
||||
pub fn setMode(self: *StreamHandler, mode: terminal.Mode, enabled: bool) !void {
|
||||
|
Reference in New Issue
Block a user