Add bold_is_bright option

This commit is contained in:
Carlo Abelli 2018-09-04 13:04:17 -04:00
parent 3e2c10f9f0
commit 6855a9b474
3 changed files with 6 additions and 0 deletions

1
config
View File

@ -1,6 +1,7 @@
[options]
#allow_bold = true
#audible_bell = false
#bold_is_bright = true
#clickable_url = true
#dynamic_title = true
font = Monospace 9

View File

@ -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.

View File

@ -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);