summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-10-23 20:18:50 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-10-23 20:18:50 -0400
commitc6d9bf421f12911298d921314ced64661f6b63bd (patch)
tree5adc67008c2febc46a265f8ab33b337386a8a1d4 /src
parent94c78423fca44652e9c837e00cf932e0cadb50de (diff)
Bug 591648 - Don't clear the screen when switching to the alternate screen
Diffstat (limited to 'src')
-rw-r--r--src/vteseq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vteseq.c b/src/vteseq.c
index 47ad30c..fd95e5e 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -821,12 +821,6 @@ vte_sequence_handler_decset_internal(VteTerminal *terminal,
case 47:
case 1047:
case 1049:
- /* Clear the alternate screen if we're switching
- * to it, and home the cursor. */
- if (set) {
- _vte_terminal_clear_screen (terminal);
- _vte_terminal_home_cursor (terminal);
- }
/* Reset scrollbars and repaint everything. */
terminal->adjustment->value =
terminal->pvt->screen->scroll_delta;