2015-09-07 22:08 Axel Beckert:
Hi Manuel,

Manuel A. Fernandez Montecelo wrote:
> Pressing 'escape' in the dialog puts a ^[ into the search term, instead
> of just closing/canceling the search/limit.

I just implemented this, it will be present in the next release.

Thanks!

Just in case you're still in there with your mind: The very same
happens with pressing Ctrl-G while Ctrl-G (as well as Escape) closes
the according minibuffer-style search box.

Maybe you can fix that for Ctrl-G as well. Being an Emacs user, I tend
to press Ctrl-G more often than Escape. :-) See also #607118. ;-)

I am not sure if I understand correctly.  I think that what you ask is
if this can also be implemented for 'Ctrl-G' as well as for 'Esc'.

In this case, the answer is that yes, it has been implemented for both,
because I am using what cwidget considers as "Cancel" keys, which are
these:

 cancelkey.push_back(KEY_CTRL(L'g'));
 cancelkey.push_back(key(L'\e', true));
 cancelkey.push_back(KEY_CTRL(L'['));
The first is Control-g, the other two are two variants of Escape, I
think.

(If you can confirm that it works for both before the next release, it
would be great).


Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>

Reply via email to