[vte/vte-0-36] emulation: Reset attributes when entering alternate screen
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-36] emulation: Reset attributes when entering alternate screen
- Date: Mon, 18 Nov 2013 19:45:34 +0000 (UTC)
commit a2a819591dfbbb750730caa2fd8b32e87b521fb6
Author: Egmont Koblinger <egmont gmail com>
Date: Sat Oct 26 14:49:35 2013 +0200
emulation: Reset attributes when entering alternate screen
https://bugzilla.gnome.org/show_bug.cgi?id=709930
src/vteseq.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vteseq.c b/src/vteseq.c
index af44f2d..e6a9788 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -917,6 +917,7 @@ vte_sequence_handler_decset_internal(VteTerminal *terminal,
/* Clear the alternate screen if we're switching
* to it, and home the cursor. */
if (set) {
+ _vte_terminal_set_default_attributes (terminal);
_vte_terminal_clear_screen (terminal);
_vte_terminal_home_cursor (terminal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]