fix(history): fix logic error in prompt for `history -c` (#12500)
Logic error in `history -c` when prompting for confirmation caused history to be deleted when typing anything but explicitly `n`, `N`, or sending `\n`. New logic prevents deletion by pressing wrong key and only deletes history when sending `y` or `Y`. Co-authored-by: Sargates <nicholas.g.glenn@gmail.com>master
parent
6c021fd432
commit
8908e6d720
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue