aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-03 02:49:27 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-03 02:49:27 +0300
commitaa0768b734d95a1f54df1719290d977df796068d (patch)
treef173bf0e14b4c951e9ad2dc02dc7e66f102b89b4 /src/app
parente1bbc252e2b40da6e0c6d7b0f8d7babb17cc8814 (diff)
fix: stop sgr mouse sequences leaking into panes
refs #939
Diffstat (limited to 'src/app')
-rw-r--r--src/app/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index c9d54f46..7548e39e 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -1096,6 +1096,7 @@ impl App {
if desired == *active {
return Ok(());
}
+ crate::terminal_modes::clear_host_mouse_reporting(&mut io::stdout())?;
if desired {
execute!(io::stdout(), EnableMouseCapture)?;
} else {