Use cli for remove command messages. Improve prompt.
This commit is contained in:
parent
22929add07
commit
a04848060b
2 changed files with 18 additions and 15 deletions
|
|
@ -114,7 +114,7 @@ proc prompt*(forcePrompts: ForcePrompt, question: string): bool =
|
|||
return false
|
||||
of dontForcePrompt:
|
||||
display("Prompt:", question & " [y/N]", Warning, HighPriority)
|
||||
displayCategory("...", Warning, HighPriority)
|
||||
displayCategory("Answer:", Warning, HighPriority)
|
||||
let yn = stdin.readLine()
|
||||
case yn.normalize
|
||||
of "y", "yes":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue