mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
fix: properly restore cooked mode in windows
This commit is contained in:
parent
d7b1ade1ac
commit
e633d897dc
@ -711,7 +711,7 @@ impl Terminal for WindowsTerminal {
|
||||
let mode = self.input_handle.get_input_mode()?;
|
||||
|
||||
self.input_handle.set_input_mode(
|
||||
(mode & !(ENABLE_WINDOW_INPUT | ENABLE_WINDOW_INPUT))
|
||||
(mode & !(ENABLE_MOUSE_INPUT | ENABLE_WINDOW_INPUT))
|
||||
| ENABLE_ECHO_INPUT
|
||||
| ENABLE_LINE_INPUT
|
||||
| ENABLE_PROCESSED_INPUT,
|
||||
|
Loading…
Reference in New Issue
Block a user