Commit e590d5dc authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

recognize CSI-r (with no arguments) as resetting the scrolling region in

* src/vte.c: recognize CSI-r (with no arguments) as resetting the scrolling
	region in XTerm emulation (Red Hat #75902)
parent 2905a995
2002-10-14 nalin
* src/vte.c: recognize CSI-r (with no arguments) as resetting the
scrolling region in XTerm emulation (Red Hat #75902)
2002-10-14 nalin
* src/keymap.c: add mappings for GDK_Page_Up and GDK_Page_Down,
missed in the conversion.
......@@ -32,8 +36,8 @@
2002-10-11 nalin
* src/vte.c: properly distinguish cursor key mode and keypad key mode,
obey application mode for cursor keys,
* src/pty.c: reset signal handlers before exec() (Red Hat #75341)
obey application mode for cursor keys (#92941).
* src/pty.c: reset signal handlers before exec() (Red Hat #75341).
2002-10-11 nalin
* src/trie.c: change the typedef of wint_t here to match vte.c (now
......
......@@ -495,8 +495,11 @@ struct _vte_capability_string _vte_xterm_capability_strings[] = {
{CSI "!p", "soft-reset", 0},
{CSI "%d;%d\"p", "set-conformance-level", 0},
{CSI "%d\"q", "select-character-protection", 0},
{CSI "r", "set-scrolling-region", 0},
{CSI "%d;%dr", "set-scrolling-region", 0},
{CSI "?r", "restore-mode", 0},
{CSI "?%mr", "restore-mode", 0},
{CSI "?s", "save-mode", 0},
{CSI "?%ms", "save-mode", 0},
{CSI "%mt", "window-manipulation", 0},
......
......@@ -2173,7 +2173,7 @@ vte_sequence_handler_cs(VteTerminal *terminal,
long start, end, rows;
GValue *value;
/* We require two parameters. */
/* We require two parameters. Anything less is a reset. */
if ((params == NULL) || (params->n_values < 2)) {
terminal->pvt->screen->scrolling_restricted = FALSE;
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment