summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs
diff options
context:
space:
mode:
authorOleks Gnatovskyi <22867443+alekspickle@users.noreply.github.com>2023-03-29 23:04:57 +0200
committerGitHub <noreply@github.com>2023-03-29 23:04:57 +0200
commitbdb39b19a6117dc344b1dfee27df778f5386bb62 (patch)
treee3adf519f4c1641bfbdbaa61929a5c8e776a3043 /zellij-utils/src/cli.rs
parent638f2ad4ff5d2e80bb7cee16e8c0512fcbb52caf (diff)
feat(terminal): cli and bindable action to clear all buffers for a specific pane (#2239)
* fix typo * Add clear screen action * add proper test * added bindable action; remove pointless default impl * add default binding * use imsnif's variant * remove commented example config * remove log line --------- Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r--zellij-utils/src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs
index f232438b9..aa8a27ea3 100644
--- a/zellij-utils/src/cli.rs
+++ b/zellij-utils/src/cli.rs
@@ -212,6 +212,8 @@ pub enum CliAction {
},
/// Rotate the location of the previous pane backwards
MovePaneBackwards,
+ /// Clear all buffers for a focused pane
+ Clear,
/// Dump the focused pane to a file
DumpScreen {
path: PathBuf,