mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Keep stack of previous windows.
Check for op (orig_pair) for default colours.
This commit is contained in:
4
status.c
4
status.c
@ -1,4 +1,4 @@
|
||||
/* $Id: status.c,v 1.49 2008-09-29 17:47:12 nicm Exp $ */
|
||||
/* $Id: status.c,v 1.50 2008-11-16 10:10:26 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -277,7 +277,7 @@ status_print(struct session *s, struct winlink *wl, struct grid_cell *gc)
|
||||
char *text, flag;
|
||||
|
||||
flag = ' ';
|
||||
if (wl == s->lastw)
|
||||
if (wl == SLIST_FIRST(&s->lastw))
|
||||
flag = '-';
|
||||
if (wl == s->curw)
|
||||
flag = '*';
|
||||
|
Reference in New Issue
Block a user