From e5712e82b369019457cf738a70ae97c67388cbc4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 23 Jan 2024 04:16:00 +0100 Subject: comments and minor changes --- tool/src/add.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool/src/add.rs') diff --git a/tool/src/add.rs b/tool/src/add.rs index 279574f..3cf13fd 100644 --- a/tool/src/add.rs +++ b/tool/src/add.rs @@ -63,6 +63,7 @@ pub(crate) async fn add(action: Action) -> anyhow::Result<()> { let target_dir_index = FuzzySelect::with_theme(&theme) .items(&directories) .default(default) + .with_prompt("Library Path") .interact() .unwrap(); directories[target_dir_index].0.clone() @@ -138,6 +139,7 @@ pub(crate) async fn add(action: Action) -> anyhow::Result<()> { if Confirm::with_theme(&theme) .with_prompt(format!("Write {:?}?", ypath)) + .default(true) .interact() .unwrap() { -- cgit v1.2.3-70-g09d2