Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv30852
Modified Files:
cmd-list-panes.c
Log Message:
Sync OpenBSD patchset 744:
Show which pane is active in the list-panes output, suggested by Dominik
Honnef.
Index: cmd-list-panes.c
===================================================================
RCS file: /cvsroot/tmux/tmux/cmd-list-panes.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cmd-list-panes.c 4 Dec 2009 22:14:47 -0000 1.4
+++ cmd-list-panes.c 11 Aug 2010 22:14:23 -0000 1.5
@@ -65,8 +65,9 @@
}
size += gd->hsize * sizeof *gd->linedata;
- ctx->print(ctx, "%u: [%ux%u] [history %u/%u, %llu bytes]",
- n, wp->sx, wp->sy, gd->hsize, gd->hlimit, size);
+ ctx->print(ctx, "%u: [%ux%u] [history %u/%u, %llu bytes]%s",
+ n, wp->sx, wp->sy, gd->hsize, gd->hlimit, size,
+ wp == wp->window->active ? " (active)" : "");
n++;
}
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs