diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-06-04 12:16:46 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-06-04 12:16:46 +0300 |
commit | d13adf6ddc858a988f88233fe6d73a8ca4a87cf7 (patch) | |
tree | f7ded9b13a8785e0c643bb3cd6a7cd893bfede25 /lisp/emacs-lisp/regexp-opt.el | |
parent | 4a52a98a9a5a49719da0a44d5ab1ddfde9a2aedc (diff) | |
download | emacs-d13adf6ddc858a988f88233fe6d73a8ca4a87cf7.tar.gz emacs-d13adf6ddc858a988f88233fe6d73a8ca4a87cf7.tar.bz2 emacs-d13adf6ddc858a988f88233fe6d73a8ca4a87cf7.zip |
Attempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.
src/term.c (tty_menu_display): Don't position cursor here. Instead,
pass the cursor coordinates to update_frame_with_menu.
(tty_menu_activate): Send the hide cursor command only once in an
iteration through the outer 'while' loop.
src/dispnew.c (update_frame_1): Accept an additional argument
SET_CURSOR_P, and position the cursor at the end of the frame
update only if that argument is non-zero. All callers changed to
provide the additional argument as non-zero, except for
update_frame_with_menu.
(update_frame_with_menu): Accept 2 additional arguments ROW and
COL; if they are non-negative, instruct update_frame_1 not to
position the cursor, and instead position it according to ROW and
COL.
src/dispextern.h (update_frame_with_menu): Update prototype.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions