diff --git a/crates/terminal/src/connected_view.rs b/crates/terminal/src/connected_view.rs index 905c27d2b9..8de728b638 100644 --- a/crates/terminal/src/connected_view.rs +++ b/crates/terminal/src/connected_view.rs @@ -138,7 +138,14 @@ impl ConnectedView { } fn show_character_palette(&mut self, _: &ShowCharacterPalette, cx: &mut ViewContext) { - cx.show_character_palette(); + if self + .terminal + .read(cx) + .last_mode + .contains(TermMode::ALT_SCREEN) + { + cx.show_character_palette(); + } } fn clear(&mut self, _: &Clear, cx: &mut ViewContext) {