diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-05 00:41:12 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-05 00:42:14 +0300 |
| commit | acfbb7c85a44d28432512772e4070428df60cfd6 (patch) | |
| tree | b9adc71ef907fc865001a0c4fb976781e419c426 /src/pane.rs | |
| parent | b4b69b3539fc02d855c9b626cb205074e1541c78 (diff) | |
fix: enable grapheme clusters in panes
refs #243
Diffstat (limited to 'src/pane.rs')
| -rw-r--r-- | src/pane.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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::<Bytes>(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::<Bytes>(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() |
