diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-07-25 13:08:36 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-07-25 15:19:53 +0300 |
commit | c2550f60b62a589f24f65d1ed88c81525f869222 (patch) | |
tree | 7f676adeefa9c918178e40f6499608a24a534206 /src/types.rs | |
parent | b20bdea8f08884e89c2d5cac99910e0b2049610c (diff) |
Rename EXECUTE mode to COMMAND
vim uses COMMAND, and we want to be consistent with vim when possible.
Diffstat (limited to 'src/types.rs')
-rw-r--r-- | src/types.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/types.rs b/src/types.rs index 872f0872..148f83ba 100644 --- a/src/types.rs +++ b/src/types.rs @@ -35,7 +35,7 @@ extern crate serde; mod helpers; pub use self::helpers::*; -use super::execute::Action; +use super::command::Action; use super::jobs::JobId; use super::terminal::*; use crate::components::{Component, ComponentId}; @@ -101,7 +101,7 @@ pub enum NotificationType { #[derive(Debug)] pub enum UIEvent { Input(Key), - ExInput(Key), + CmdInput(Key), InsertInput(Key), EmbedInput((Key, Vec<u8>)), //Quit? @@ -144,7 +144,7 @@ pub enum UIMode { Insert, /// Forward input to an embed pseudoterminal. Embed, - Execute, + Command, Fork, } @@ -156,7 +156,7 @@ impl fmt::Display for UIMode { match *self { UIMode::Normal => "NORMAL", UIMode::Insert => "INSERT", - UIMode::Execute => "EX", + UIMode::Command => "COMMAND", UIMode::Fork => "FORK", UIMode::Embed => "EMBED", } |