diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-10-11 14:01:48 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-10-11 14:01:48 +0300 |
commit | 48621e69064ea74eef6530d299cdc3548e170ce2 (patch) | |
tree | 783dc060c8f9dda66307e6f561d5dc178f0d31ec /lisp/emacs-lisp/gulp.el | |
parent | b9ff995e4c091ca99c8752bb996e155ce7147a00 (diff) | |
download | emacs-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/gulp.el')
0 files changed, 0 insertions, 0 deletions