From 9fd13a4ee0a189f6cf81658370df339a1d4e1868 Mon Sep 17 00:00:00 2001 From: Naz Date: Thu, 7 Aug 2025 16:57:49 +0100 Subject: =?UTF-8?q?=E2=9C=A8feat:=20improve=20fuzzy=20select=20UX=20with?= =?UTF-8?q?=20length=20limit=20and=20vim=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/github.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/github.rs') 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 { let tag_selection = FuzzySelect::new() .with_prompt("Choose a release") .items(&tags) + .max_length(7) + .vim_mode(true) .interact()?; let mut assets: Vec = vec![]; @@ -60,6 +62,8 @@ pub async fn get_github_release_url(appimage: &AppImage) -> Result { .map(|x| x.name.to_string()) .collect::>(), ) + .max_length(7) + .vim_mode(true) .interact()?; } -- cgit v1.2.3