Merge pull request #631 from carloabelli/issue245

Add bold_is_bright option
This commit is contained in:
jelle van der Waa 2018-11-11 13:40:34 +01:00 committed by GitHub
commit b3e923572a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);