diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-23 04:16:00 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-23 04:16:00 +0100 |
commit | e5712e82b369019457cf738a70ae97c67388cbc4 (patch) | |
tree | a3ab191ba5bfd1c900aaabb7e8535624630b7310 /tool | |
parent | 0318a9f925f2507200a5b9b714f20560b770d7b0 (diff) | |
download | jellything-e5712e82b369019457cf738a70ae97c67388cbc4.tar jellything-e5712e82b369019457cf738a70ae97c67388cbc4.tar.bz2 jellything-e5712e82b369019457cf738a70ae97c67388cbc4.tar.zst |
comments and minor changes
Diffstat (limited to 'tool')
-rw-r--r-- | tool/src/add.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |