Allow to quit hint mode via <CTRL-C> #349.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 6 May 2017 22:34:51 +0000 (00:34 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 6 May 2017 23:31:56 +0000 (01:31 +0200)
commit199113e143a0dc4b8a242fc51b8735e4c9ac0309
tree07664a12c957c541de658f73e75c03699e078623
parent36cbf067c0d944f510e78b709b9b8d19f7699b9f
Allow to quit hint mode via <CTRL-C> #349.

There are some pages where the hinting could not be started and the
input box is filled with ';o'. If the user uses <Esc> this key is also
given to the hinting mode which can't handle this so the user has no way
to get back to normal mode.
Moved the <CTRL-C> case to the beginning of the key handler to make sure
the user can abort the current mode by <CTRL-C>.
src/ex.c