Moved /LASTLOG handling to lastlog.c. Added options -file <filename>

for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-19 06:23:04 +00:00 committed by cras
commit 6b4a838813
8 changed files with 384 additions and 250 deletions

View file

@ -58,6 +58,9 @@ void gui_expandos_deinit(void);
void gui_textwidget_init(void);
void gui_textwidget_deinit(void);
void lastlog_init(void);
void lastlog_deinit(void);
void mainwindow_activity_init(void);
void mainwindow_activity_deinit(void);
@ -126,6 +129,7 @@ static void textui_finish_init(void)
gui_printtext_init();
gui_readline_init();
gui_textwidget_init();
lastlog_init();
mainwindows_init();
mainwindow_activity_init();
mainwindows_save_init();
@ -162,6 +166,7 @@ static void textui_deinit(void)
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
gui_textwidget_deinit();
lastlog_deinit();
statusbar_deinit();
gui_printtext_deinit();
gui_readline_deinit();