aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/errors.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2025-10-27 12:31:02 +0100
committerGitHub <noreply@github.com>2025-10-27 12:31:02 +0100
commit8762f866380360457c84c1e7ce7973f104468f87 (patch)
treeb437ef473578e2120b67e6d96068e05b7cb88511 /zellij-utils/src/errors.rs
parentMigrate from wasmtime to wasmi (#4449) (diff)
downloadsl0ppij-8762f866380360457c84c1e7ce7973f104468f87.tar.gz
sl0ppij-8762f866380360457c84c1e7ce7973f104468f87.tar.xz
sl0ppij-8762f866380360457c84c1e7ce7973f104468f87.zip
Feature: watcher clients (#4487)
* initial implementation * make Screen aware of watchers - slightly buggy * fix: only render focused tab to watcher * track watcher sizes on Screen * pad watcher output as needed * truncate watcher sizes as needed * render on watcher resize * fix watcher first resize * allow watchers to quit with esc, ctrl-c or ctrl-q * fix: send watcher size on initial connection message * refactor: move padding logic to output * fix watcher rendering after all clients disconnected * fix watcher rendering caching issues * crop watcher cursor when out of bounds * remove watchers cleanly on session close * standardize watcher messages ignoring * add e2e test for watcher functionality * update snapshots * add output tests * rustfmt * cleanups * docs(changelog): add PR
Diffstat (limited to 'zellij-utils/src/errors.rs')
-rw-r--r--zellij-utils/src/errors.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs
index 624ef414..bcd05987 100644
--- a/zellij-utils/src/errors.rs
+++ b/zellij-utils/src/errors.rs
@@ -389,6 +389,10 @@ pub enum ScreenContext {
InterceptKeyPresses,
ClearKeyPressesIntercepts,
ReplacePaneWithExistingPane,
+ AddWatcherClient,
+ RemoveWatcherClient,
+ SetFollowedClient,
+ WatcherTerminalResize, // NEW
}
/// Stack call representations corresponding to the different types of [`PtyInstruction`]s.