summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github.rs b/src/github.rs
index 50812d1..a37e7b1 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -35,6 +35,8 @@ pub async fn get_github_release_url(appimage: &AppImage) -> Result<String> {
let tag_selection = FuzzySelect::new()
.with_prompt("Choose a release")
.items(&tags)
+ .max_length(7)
+ .vim_mode(true)
.interact()?;
let mut assets: Vec<Asset> = vec![];
@@ -60,6 +62,8 @@ pub async fn get_github_release_url(appimage: &AppImage) -> Result<String> {
.map(|x| x.name.to_string())
.collect::<Vec<_>>(),
)
+ .max_length(7)
+ .vim_mode(true)
.interact()?;
}