From 5cab87d42e64a5dca9969add49bb1bb9afa1bdaf Mon Sep 17 00:00:00 2001 From: mgpinf Date: Sat, 15 Mar 2025 23:54:01 +0530 Subject: [PATCH] fix: set raw mode if hold option is set This is to disable local echo --- wezterm/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wezterm/src/main.rs b/wezterm/src/main.rs index 3f8c29aff..b45a41e94 100644 --- a/wezterm/src/main.rs +++ b/wezterm/src/main.rs @@ -587,6 +587,7 @@ impl ImgCatCommand { } if self.hold { + term.set_raw_mode()?; while let Ok(Some(event)) = term.poll_input(None) { match event { InputEvent::Key(KeyEvent { -- 2.51.2