aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-panes.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-12-04 22:14:47 +0000
committerTiago Cunha <tcunha@gmx.com>2009-12-04 22:14:47 +0000
commitcc094fdfe6276b93683113f395edbc004837d362 (patch)
treec685b2f63461b2026d0677c4b8974e3004e114ff /cmd-list-panes.c
parent1caa73afb4da381425160cbff68284a4dab1470b (diff)
downloadrtmux-cc094fdfe6276b93683113f395edbc004837d362.tar.gz
rtmux-cc094fdfe6276b93683113f395edbc004837d362.tar.bz2
rtmux-cc094fdfe6276b93683113f395edbc004837d362.zip
Sync OpenBSD patchset 581:
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r--cmd-list-panes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c
index 4292786a..a075cf38 100644
--- a/cmd-list-panes.c
+++ b/cmd-list-panes.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-list-panes.c,v 1.3 2009-11-14 17:56:39 tcunha Exp $ */
+/* $Id: cmd-list-panes.c,v 1.4 2009-12-04 22:14:47 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -23,7 +23,7 @@
#include "tmux.h"
/*
- * List panes on given window..
+ * List panes on given window.
*/
int cmd_list_panes_exec(struct cmd *, struct cmd_ctx *);
@@ -56,7 +56,7 @@ cmd_list_panes_exec(struct cmd *self, struct cmd_ctx *ctx)
n = 0;
TAILQ_FOREACH(wp, &wl->window->panes, entry) {
gd = wp->base.grid;
-
+
size = 0;
for (i = 0; i < gd->hsize; i++) {
gl = &gd->linedata[i];
@@ -64,7 +64,7 @@ cmd_list_panes_exec(struct cmd *self, struct cmd_ctx *ctx)
size += gl->utf8size * sizeof *gl->utf8data;
}
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);
n++;