summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-textwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-textwidget.c')
-rw-r--r--src/fe-text/gui-textwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/gui-textwidget.c b/src/fe-text/gui-textwidget.c
index 288e9851..f436a9d6 100644
--- a/src/fe-text/gui-textwidget.c
+++ b/src/fe-text/gui-textwidget.c
@@ -72,6 +72,9 @@ static gchar *gui_window_line2text(LINE_REC *line)
case LINE_CMD_UNDERLINE:
g_string_append_c(str, 31);
break;
+ case LINE_CMD_COLOR0:
+ g_string_sprintfa(str, "\003%c%c", 1, ((color & 0xf0) >> 4)+1);
+ break;
case LINE_CMD_COLOR8:
g_string_sprintfa(str, "\003%c%c", 9, ((color & 0xf0) >> 4)+1);
color &= 0xfff0;