mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Add 'active' tag for active logs in /log output.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4664 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b1b989cf81
commit
1b99b57e4f
@ -227,7 +227,8 @@ static void cmd_log_list(void)
|
||||
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_LOG_LIST,
|
||||
index, rec->fname, items != NULL ? items : "",
|
||||
levelstr, rec->autoopen ? " -autoopen" : "");
|
||||
levelstr, rec->autoopen ? " -autoopen" : "",
|
||||
rec->handle != -1 ? " active" : "");
|
||||
|
||||
g_free_not_null(items);
|
||||
g_free(levelstr);
|
||||
|
@ -180,7 +180,7 @@ FORMAT_REC fecommon_core_formats[] = {
|
||||
{ "log_started", "Started logging to file {hilight $0}", 1, { 0 } },
|
||||
{ "log_stopped", "Stopped logging to file {hilight $0}", 1, { 0 } },
|
||||
{ "log_list_header", "%#Logs:", 0 },
|
||||
{ "log_list", "%#$0 $1: $2 $3$4", 5, { 1, 0, 0, 0, 0, 0 } },
|
||||
{ "log_list", "%#$0 $1: $2 $3$4$5", 6, { 1, 0, 0, 0, 0, 0 } },
|
||||
{ "log_list_footer", "", 0 },
|
||||
{ "windowlog_file", "Window LOGFILE set to $0", 1, { 0 } },
|
||||
{ "windowlog_file_logging", "Can't change window's logfile while log is on", 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user