diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-06-19 06:42:43 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-06-19 06:42:43 +0000 |
commit | 4c681083ba867cb430c5faa8f97c92117121c6de (patch) | |
tree | 056914c87d56b115a3e6292fa617386ea6b63479 | |
parent | 63d4477daaaecdd71b26ffd4e7199c1c680e553d (diff) |
Clear the alternate screen when switching to it.vte_0_4_3
* src/vte.c: Clear the alternate screen when switching to it.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/vte.c | 8 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,5 @@ +2002-06-19 nalin + * src/vte.c: Clear the alternate screen when switching to it. 2002-06-18 nalin * src/vte.c: Fix refs/derefs with IOChannels and sources. Clean up I/O GIConv descriptors at finalize-time. @@ -3374,6 +3374,14 @@ vte_sequence_handler_decset_internal(VteTerminal *terminal, break; case 47: case 1047: + /* Clear the alternate screen if we're switching + * to it. */ + if (set) { + vte_sequence_handler_clear_screen(terminal, + NULL, + 0, + NULL); + } /* Reset scrollbars and repaint everything. */ vte_terminal_adjust_adjustments(terminal); vte_invalidate_all(terminal); |