From bdb39b19a6117dc344b1dfee27df778f5386bb62 Mon Sep 17 00:00:00 2001 From: Oleks Gnatovskyi <22867443+alekspickle@users.noreply.github.com> Date: Wed, 29 Mar 2023 23:04:57 +0200 Subject: 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 --- zellij-utils/src/cli.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zellij-utils/src/cli.rs') 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, -- cgit v1.2.3