1
1
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:
Sean Sullivan 2022-06-23 10:52:05 -07:00 committed by Wez Furlong
parent d7b1ade1ac
commit e633d897dc

View File

@ -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,