mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Yes/NO defaults to "no" when just enter is pressed (#1948)
* yes/NO in interface * Implement No as default (when only Enter is pressed) * Update README.md Mark the default as [yes] Signed-off-by: pepa65 <pepa65@passchier.net> * Update ui.rs Mark the default as [yes] Signed-off-by: pepa65 <pepa65@passchier.net> * Update ui.rs Do not break on yes/y/YES/Y/"", break on no/n/NO/N, and keep asking otherwise Signed-off-by: pepa65 <pepa65@passchier.net> * Update ui.rs After testing empty didn't work correctly Signed-off-by: pepa65 <pepa65@passchier.net> --------- Signed-off-by: pepa65 <pepa65@passchier.net>
This commit is contained in:
parent
e704abe7ac
commit
81a8218794
2 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ $ cargo binstall radio-sx128x@0.14.1-alpha.5
|
|||
WARN The package radio-sx128x v0.14.1-alpha.5 (x86_64-unknown-linux-gnu) has been downloaded from github.com
|
||||
INFO This will install the following binaries:
|
||||
INFO - sx128x-util (sx128x-util-x86_64-unknown-linux-gnu -> /home/.cargo/bin/sx128x-util)
|
||||
Do you wish to continue? yes/[no]
|
||||
Do you wish to continue? [yes]/no
|
||||
? yes
|
||||
INFO Installing binaries...
|
||||
INFO Done in 2.838798298s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue