hstr
hstr copied to clipboard
small visual glitch
precondition:
$ PROMPT_COMMAND='stty echo' <-- that's needed to trigger
$ source <(hstr -B)
- now invoke
hstr
viactrl-r
and interrupt it withctrl-c
- until next
ctrl-c
orenter
, all characters are echoed twice
That PROMPT_COMMAND is used to clean up after programs that fail re-enable echo, for example when they were interrupted while asking for a password.