[vte] Bug 617690 - Setting default fg color should not cancel underline



commit c84f01d9de7bc2c7a9bfbc6373afbdebbab3d2be
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed May 5 19:16:39 2010 -0400

    Bug 617690 - Setting default fg color should not cancel underline

 src/vteseq.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/vteseq.c b/src/vteseq.c
index 6c7323d..44de8b2 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -2344,11 +2344,8 @@ vte_sequence_handler_character_attributes (VteTerminal *terminal, GValueArray *p
 			break;
 		}
 		case 39:
-			/* default foreground, no underscore */
+			/* default foreground */
 			terminal->pvt->screen->defaults.attr.fore = VTE_DEF_FG;
-			/* By ECMA 48, this underline off has no business
-			   being here, but the Linux console specifies it. */
-			terminal->pvt->screen->defaults.attr.underline = 0;
 			break;
 		case 40:
 		case 41:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]