Mark views when they are created
parent
359b08b335
commit
140f6e896d
1
ui.c
1
ui.c
|
@ -135,6 +135,7 @@ static struct View *viewTag(struct Tag tag) {
|
||||||
scrollok(view->log, true);
|
scrollok(view->log, true);
|
||||||
wmove(view->log, lastLogLine() - logHeight(view) + 2, 0);
|
wmove(view->log, lastLogLine() - logHeight(view) + 2, 0);
|
||||||
view->scroll = LOG_LINES;
|
view->scroll = LOG_LINES;
|
||||||
|
view->mark = true;
|
||||||
|
|
||||||
viewAppend(view);
|
viewAppend(view);
|
||||||
return view;
|
return view;
|
||||||
|
|
Loading…
Reference in New Issue