Fix TTY menus when they lead to a minibuffer prompt.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Oct 2013 08:35:51 +0000 (11:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Oct 2013 08:35:51 +0000 (11:35 +0300)
commit58ce0cfc088b4c0fb59383ce8dd4259b072a4baf
tree0a8949b84a5a7776b1d8c11225e38933a2afd913
parent50e28e7d3ea63ce103c6de6cda1b9c1684d9359b
Fix TTY menus when they lead to a minibuffer prompt.

 lisp/menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
 TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
 the problem whereby selecting a menu item that leads to a
 minibuffer prompt moves the cursor out of the minibuffer window,
 making it hard to type at the prompt.  Suggested by Stefan Monnier
 <monnier@iro.umontreal.ca>.
lisp/ChangeLog
lisp/menu-bar.el