summaryrefslogtreecommitdiff
path: root/src/server/clients.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-29 19:48:55 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-29 19:48:55 +0300
commit77242943ba65a80cbc1180258dd64f06635233f9 (patch)
treeaf094d9f591f7886578e109fc9820d7516a17b1a /src/server/clients.rs
parent324e625c60658ab0de46928be300fc1804af48df (diff)
fix: keep split host color replies out of panes
refs #344 refs #279
Diffstat (limited to 'src/server/clients.rs')
-rw-r--r--src/server/clients.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/clients.rs b/src/server/clients.rs
index 4ee1ff09..026dd378 100644
--- a/src/server/clients.rs
+++ b/src/server/clients.rs
@@ -33,6 +33,8 @@ pub(crate) struct ClientConnection {
pub(crate) host_terminal_theme: crate::terminal_theme::TerminalTheme,
/// Last reported focus state for this client's outer terminal.
pub(crate) outer_terminal_focus: Option<bool>,
+ /// Stateful parser for app-client input split across transport reads.
+ pub(crate) raw_input: crate::raw_input::RawInputFramer,
/// Monotonic activity stamp used to choose the fallback foreground client.
pub(crate) last_activity: u64,
/// Render baseline for the negotiated client encoding.
@@ -93,6 +95,7 @@ impl ClientConnection {
cell_size,
host_terminal_theme,
outer_terminal_focus,
+ raw_input: crate::raw_input::RawInputFramer::default(),
last_activity,
render_state: ClientRenderState::new(render_encoding),
graphics_cache: crate::kitty_graphics::HostGraphicsCache::default(),