mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
/LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
should be written to log file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
08b9062028
commit
4e3b1bba62
4 changed files with 77 additions and 19 deletions
|
|
@ -6,6 +6,8 @@ enum {
|
|||
LOG_ITEM_WINDOW_REFNUM
|
||||
};
|
||||
|
||||
typedef char *(*COLORIZE_FUNC)(const char *str);
|
||||
|
||||
typedef struct {
|
||||
int type;
|
||||
char *name;
|
||||
|
|
@ -22,6 +24,7 @@ typedef struct {
|
|||
GSList *items; /* log only on these items */
|
||||
|
||||
time_t last; /* when last message was written */
|
||||
COLORIZE_FUNC colorizer;
|
||||
|
||||
unsigned int autoopen:1; /* automatically start logging at startup */
|
||||
unsigned int failed:1; /* opening log failed last time */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue