aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2013-10-14 18:37:12 +0300
committerEli Zaretskii2013-10-14 18:37:12 +0300
commitccd4a7833f341e2c22d6933357282954af6a57b2 (patch)
treee28e73f9b0e1b85ee9d81adb79d7389c04e4473f /src/ChangeLog
parent77e3b1b7095b3376dbddd22cbca4827b797767c0 (diff)
downloademacs-ccd4a7833f341e2c22d6933357282954af6a57b2.tar.gz
emacs-ccd4a7833f341e2c22d6933357282954af6a57b2.zip
Implement scrolling of TTY menus when the screen is too short.
src/term.c (tty_menu_display): Accept an additional argument, the menu item from which to start displaying the menu. Account for the value of Y when limiting the menu to the number of available screen lines. (mi_result): New enumeration. (read_menu_input): Return enumerated value. When the y coordinate hits min_y or max_y, return scroll indication instead of wrapping around the menu. (tty_menu_activate): Handle the scrolling indications from read_menu_input. Compute the first menu item to display and pass it to tty_menu_display. lisp/menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks to commands that scroll the menu.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d9264f6a691..018489bdbc2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,19 @@
12013-10-14 Eli Zaretskii <eliz@gnu.org>
2
3 Implement scrolling of TTY menus when the screen is too short.
4
5 * term.c (tty_menu_display): Accept an additional argument, the
6 menu item from which to start displaying the menu. Account for
7 the value of Y when limiting the menu to the number of available
8 screen lines.
9 (mi_result): New enumeration.
10 (read_menu_input): Return enumerated value. When the y coordinate
11 hits min_y or max_y, return scroll indication instead of wrapping
12 around the menu.
13 (tty_menu_activate): Handle the scrolling indications from
14 read_menu_input. Compute the first menu item to display and pass
15 it to tty_menu_display.
16
12013-10-14 Dmitry Antipov <dmantipov@yandex.ru> 172013-10-14 Dmitry Antipov <dmantipov@yandex.ru>
2 18
3 * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK) 19 * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK)