summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-10-11 14:01:48 +0300
committerEli Zaretskii <eliz@gnu.org>2013-10-11 14:01:48 +0300
commit48621e69064ea74eef6530d299cdc3548e170ce2 (patch)
tree783dc060c8f9dda66307e6f561d5dc178f0d31ec /lisp/emacs-lisp/byte-run.el
parentb9ff995e4c091ca99c8752bb996e155ce7147a00 (diff)
downloademacs-48621e69064ea74eef6530d299cdc3548e170ce2.tar.gz
emacs-48621e69064ea74eef6530d299cdc3548e170ce2.tar.bz2
emacs-48621e69064ea74eef6530d299cdc3548e170ce2.zip
Fix bug #15575 with crashes in TTY menus.
src/xdisp.c (display_tty_menu_item): Make sure we never write beyond the end of the frame's glyph matrix. src/term.c (tty_menu_display): Don't move cursor while overwriting frame's glyphs with menu items. Limit the number of items displayed to what can be shown on the available screen lines, excluding the echo area. (tty_menu_activate): Limit the Y coordinate allowed by read_menu_input to the last screen line used for menu display.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions