From 6855a9b4742ce7f1a8e41e854625bfa5caae2742 Mon Sep 17 00:00:00 2001 From: Carlo Abelli Date: Tue, 4 Sep 2018 13:04:17 -0400 Subject: [PATCH] Add bold_is_bright option --- config | 1 + man/termite.config.5 | 2 ++ termite.cc | 3 +++ 3 files changed, 6 insertions(+) diff --git a/config b/config index 1c3e3d7..78b83f3 100644 --- a/config +++ b/config @@ -1,6 +1,7 @@ [options] #allow_bold = true #audible_bell = false +#bold_is_bright = true #clickable_url = true #dynamic_title = true font = Monospace 9 diff --git a/man/termite.config.5 b/man/termite.config.5 index f9fda07..f5e26bd 100644 --- a/man/termite.config.5 +++ b/man/termite.config.5 @@ -12,6 +12,8 @@ Allow the output of bold characters when the bold escape sequence appears .IP \fIaudible_bell\fR Have the terminal beep on the terminal bell. +.IP \fIbold_is_bright\fR +Display bold text in bright colors. .IP \fIbrowser\fR Set the default browser for opening links. If its not set, \fI$BROWSER\fR is read. If that's not set, url hints will be disabled. diff --git a/termite.cc b/termite.cc index bdb01e3..d28da16 100644 --- a/termite.cc +++ b/termite.cc @@ -1476,6 +1476,9 @@ static void set_config(GtkWindow *window, VteTerminal *vte, GtkWidget *scrollbar vte_terminal_search_set_wrap_around(vte, cfg_bool("search_wrap", TRUE)); #if VTE_CHECK_VERSION (0, 49, 1) vte_terminal_set_allow_hyperlink(vte, cfg_bool("hyperlinks", FALSE)); +#endif +#if VTE_CHECK_VERSION (0, 51, 2) + vte_terminal_set_bold_is_bright(vte, cfg_bool("bold_is_bright", TRUE)); #endif info->dynamic_title = cfg_bool("dynamic_title", TRUE); info->urgent_on_bell = cfg_bool("urgent_on_bell", TRUE);