/LAST -away checks only lines that came after last time you went away.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@355 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-15 23:00:52 +00:00 committed by cras
commit bc8848f965
3 changed files with 60 additions and 35 deletions

View file

@ -114,6 +114,11 @@ static void remove_first_line(WINDOW_REC *window)
if (--chunk->lines == 0)
text_chunk_free(gui, chunk);
if (gui->lastlog_last_check->data == window)
gui->lastlog_last_check = NULL;
if (gui->lastlog_last_away->data == window)
gui->lastlog_last_away = NULL;
if (gui->startline->prev == NULL) {
/* first line in screen removed */
gui->startline = gui->startline->next;