aboutsummaryrefslogtreecommitdiff
path: root/src/pane.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-05 00:41:12 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-05 00:42:14 +0300
commitacfbb7c85a44d28432512772e4070428df60cfd6 (patch)
treeb9adc71ef907fc865001a0c4fb976781e419c426 /src/pane.rs
parentb4b69b3539fc02d855c9b626cb205074e1541c78 (diff)
fix: enable grapheme clusters in panes
refs #243
Diffstat (limited to 'src/pane.rs')
-rw-r--r--src/pane.rs6
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()