From acfbb7c85a44d28432512772e4070428df60cfd6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 5 Jun 2026 00:41:12 +0300 Subject: fix: enable grapheme clusters in panes refs #243 --- src/pane.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pane.rs') diff --git a/src/pane.rs b/src/pane.rs index 19556ffe..214eeef2 100644 --- a/src/pane.rs +++ b/src/pane.rs @@ -1284,6 +1284,9 @@ impl PaneRuntime { let (response_tx, _response_rx) = mpsc::channel::(1); let mut terminal = crate::ghostty::Terminal::new(cols, rows, scrollback_limit_bytes) .map_err(|e| std::io::Error::other(e.to_string()))?; + terminal + .enable_grapheme_cluster_mode() + .map_err(|e| std::io::Error::other(e.to_string()))?; if crate::kitty_graphics::is_enabled() { terminal .enable_kitty_graphics() @@ -1395,6 +1398,9 @@ impl PaneRuntime { let (response_tx, _response_rx) = mpsc::channel::(1); let mut terminal = crate::ghostty::Terminal::new(cols, rows, scrollback_limit_bytes) .map_err(|e| std::io::Error::other(e.to_string()))?; + terminal + .enable_grapheme_cluster_mode() + .map_err(|e| std::io::Error::other(e.to_string()))?; if crate::kitty_graphics::is_enabled() { terminal .enable_kitty_graphics() -- cgit v1.2.3