fix till in select mode

This commit is contained in:
alice pellerin
2026-04-25 18:08:46 -05:00
parent cd3ea4d1a6
commit cc0ae065c6
6 changed files with 64 additions and 37 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ pub enum Mode {
#[derive(Debug)]
#[serde(rename_all = "snake_case")]
pub enum PartialAction {
Goto, View, Replace, Space, Repeat, To
Goto, View, Replace, Space, Repeat, Till
}
#[derive(Clone, Copy, PartialEq, Eq)]
@@ -69,7 +69,7 @@ impl TryFrom<&str> for PartialAction {
"replace" => Ok(Replace),
"space" => Ok(Space),
"repeat" => Ok(Repeat),
"to" => Ok(To),
"to" => Ok(Till),
_ => Err(()),
}
}