aboutsummaryrefslogtreecommitdiff
path: root/src/ghostty
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-04-05 02:24:57 +0300
committerCan Celik <ogulcancelik@gmail.com>2026-04-05 02:32:00 +0300
commita08dfaef2f13873fc85dc9e1357235b8b0703a46 (patch)
treea34a2ada492da80f5efe67eab08b34c3ca249a07 /src/ghostty
parent19239c6c87f190a38796b6d7a2e15620a97b70b7 (diff)
feat: forward ghostty pane focus events on focus changes
Diffstat (limited to 'src/ghostty')
-rw-r--r--src/ghostty/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ghostty/mod.rs b/src/ghostty/mod.rs
index 8c5e591d..718abd0c 100644
--- a/src/ghostty/mod.rs
+++ b/src/ghostty/mod.rs
@@ -121,6 +121,7 @@ pub const MOUSE_BUTTON_WHEEL_RIGHT: ffi::GhosttyMouseButton =
ffi::GhosttyMouseButton_GHOSTTY_MOUSE_BUTTON_SEVEN;
pub const MODE_APPLICATION_CURSOR_KEYS: u16 = 1;
+pub const MODE_FOCUS_EVENT: u16 = 1004;
pub const MODE_BRACKETED_PASTE: u16 = 2004;
pub const MODE_MOUSE_UTF8: u16 = 1005;
pub const MODE_MOUSE_SGR: u16 = 1006;