mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +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.
|
// side effects and we want to make sure we process those.
|
||||||
const v = self.terminal.modes.restore(mode);
|
const v = self.terminal.modes.restore(mode);
|
||||||
// log.debug("restore mode={} v={}", .{ mode, v });
|
// 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 {
|
pub fn setMode(self: *StreamHandler, mode: terminal.Mode, enabled: bool) !void {
|
||||||
|
Reference in New Issue
Block a user