Cannot leave command prompt without typing anything
strboul opened this issue · 3 comments
Not very possible to quit the command mode and return to the application without typing anything. To reproduce this bug, let's think about a user:
- Presses
:
to type a command (where it seesEnter a command
prompt) - Decides not to enter any command and wants to leave
- Cannot quit command mode because pressing
q
andEsc
(or even mouse clicks) do not help the user go back to the previous state - User types
:q
to quitgrv
completely.
I quite like this command console mode which resembles vim to me, and I think it is one of the best things when using grv. However, I find myself in tedious situations because of the reason mentioned above.
$ grv --version
GRV - Git Repository Viewer v0.3.1-0-g8215c1a (compiled with go1.11.4 at 2019-01-13 00:20:26 GMT)
Thanks for the help!
It should be possible to leave the command mode by hitting the Enter key. This method also works in vim as well. Does that solve the issue for you?
Yes, hitting the Enter
key works. It solves my issue but I would be happy if this is implemented as a feature (to be able to quit by Esc
or <C-c>
just like in vim).
Esc
or <C-c>
can now be used to quite the prompt in the latest version of grv (0.3.2)