diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-11-01 08:52:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 08:52:55 +0100 |
commit | d2b81293df36efae1a9a21497f1f46095dff963a (patch) | |
tree | 5f176608ba09bded5f68ccc99731ca2ec65fcfdf /zellij-utils/src | |
parent | 13f3e747e41ce42daca95aeb67678f0dc7834c0a (diff) |
add: `WriteChars` action (#825)
* Behaves like the `Write` action, but one can specify
strings themselves instead of their bytecodes.
Usage:
WriteChars: "cargo make test",
Diffstat (limited to 'zellij-utils/src')
-rw-r--r-- | zellij-utils/src/input/actions.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-utils/src/input/actions.rs b/zellij-utils/src/input/actions.rs index 8446bf0d8..c1277db1f 100644 --- a/zellij-utils/src/input/actions.rs +++ b/zellij-utils/src/input/actions.rs @@ -28,6 +28,8 @@ pub enum Action { Quit, /// Write to the terminal. Write(Vec<u8>), + /// Write Characters to the terminal. + WriteChars(String), /// Switch to the specified input mode. SwitchToMode(InputMode), /// Resize focus pane in specified direction. |