diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-11-15 20:13:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 20:13:05 +0100 |
commit | b861baa6a19e7b868e8e3c4d3349a031322f342a (patch) | |
tree | 1def054acd4246c33d1e017df700a49c322efb1c /zellij-tile/src | |
parent | 55aef0aeec3f1ba0d075be30cc8210ae3aa42710 (diff) |
First attempt to provide an overlay prompt (#871)
Diffstat (limited to 'zellij-tile/src')
-rw-r--r-- | zellij-tile/src/data.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-tile/src/data.rs b/zellij-tile/src/data.rs index 872a78f9f..11b94beff 100644 --- a/zellij-tile/src/data.rs +++ b/zellij-tile/src/data.rs @@ -85,6 +85,9 @@ pub enum InputMode { /// `Move` mode allows moving the different existing panes within a tab #[serde(alias = "move")] Move, + /// `Prompt` mode allows interacting with active prompts. + #[serde(alias = "prompt")] + Prompt, } impl Default for InputMode { @@ -129,6 +132,7 @@ impl FromStr for InputMode { "renametab" => Ok(InputMode::RenameTab), "session" => Ok(InputMode::Session), "move" => Ok(InputMode::Move), + "prompt" => Ok(InputMode::Prompt), e => Err(e.to_string().into()), } } |