mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
1191bc2c2c
commit
6b4a838813
8 changed files with 384 additions and 250 deletions
|
|
@ -789,7 +789,8 @@ static void signal_window_changed(WINDOW_REC *window)
|
|||
screen_refresh_thaw();
|
||||
}
|
||||
|
||||
GList *gui_window_find_text(WINDOW_REC *window, gchar *text, GList *startline, int regexp, int fullword)
|
||||
GList *gui_window_find_text(WINDOW_REC *window, const char *text,
|
||||
GList *startline, int regexp, int fullword)
|
||||
{
|
||||
#ifdef HAVE_REGEX_H
|
||||
regex_t preg;
|
||||
|
|
@ -1130,7 +1131,7 @@ void gui_window_reformat_line(WINDOW_REC *window, LINE_REC *line)
|
|||
raw->str[1] == (char)LINE_CMD_FORMAT_CONT) {
|
||||
/* multiline format, format explained in one the
|
||||
following lines. remove this line. */
|
||||
gui_window_line_remove(window, line);
|
||||
gui_window_line_remove(window, line, FALSE);
|
||||
} else if (str != NULL) {
|
||||
/* FIXME: ugly ugly .. and this can't handle
|
||||
non-formatted lines.. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue