mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
core: add support of italic text (requires ncurses >= 5.9 patch 20130831)
This commit is contained in:
@@ -2400,7 +2400,8 @@ COMMAND_CALLBACK(help)
|
||||
"an alias; attributes are allowed before "
|
||||
"color (for text color only, not "
|
||||
"background): \"*\" for bold, \"!\" for "
|
||||
"reverse, \"_\" for underline"));
|
||||
"reverse, \"/\" for italic, \"_\" for "
|
||||
"underline"));
|
||||
if (ptr_option->default_value)
|
||||
{
|
||||
gui_chat_printf (NULL, " %s: %s",
|
||||
|
||||
@@ -2131,8 +2131,9 @@ config_weechat_init_options ()
|
||||
weechat_config_file, ptr_section,
|
||||
"emphasized_attributes", "string",
|
||||
N_("attributes for emphasized text: one or more attribute chars ("
|
||||
"\"*\" for bold, \"!\" for reverse, \"_\" for underline); if the "
|
||||
"string is empty, the colors weechat.color.emphasized* are used"),
|
||||
"\"*\" for bold, \"!\" for reverse, \"/\" for italic, \"_\" for "
|
||||
"underline); if the string is empty, the colors "
|
||||
"weechat.color.emphasized* are used"),
|
||||
NULL, 0, 0, "", NULL, 0, NULL, NULL, &config_change_emphasized_attributes, NULL, NULL, NULL);
|
||||
config_look_highlight = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
|
||||
Reference in New Issue
Block a user