mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
/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:
parent
cf75515274
commit
bc8848f965
3 changed files with 60 additions and 35 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue