mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
"print text finished" -> "gui print text finished". Added %[options] format
for printing text. The syntax for options is [+-]<option>[+-]<option>... Currently supports options 't' = timestamp, 'T' = server tag, 's' = line_start, 'S' = line_start_irssi. -s or -S means don't print the line_start. For example %[-st+T] would never print line_start or timestamp to line, but would always print server tag to line. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f1a0aabdf4
commit
6362ab86f6
6 changed files with 175 additions and 90 deletions
|
|
@ -263,7 +263,7 @@ static char *hilight_get_color(HILIGHT_REC *rec)
|
|||
color = rec->color != NULL ? rec->color :
|
||||
settings_get_str("hilight_color");
|
||||
|
||||
return format_string_expand(color);
|
||||
return format_string_expand(color, NULL);
|
||||
}
|
||||
|
||||
static void hilight_update_text_dest(TEXT_DEST_REC *dest, HILIGHT_REC *rec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue