summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-08 16:03:09 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-08 16:03:09 +0000
commitdcde77cd0964aa119547173ecd59345697fec7cd (patch)
tree560b0bfc53cbe5a3f62b6273778ab025735810dd
parentf03dd8d216fa38eff69f4d0d5c8ccb0e9643dd69 (diff)
Update.
-rw-r--r--TODO13
-rw-r--r--cmd-list-windows.c5
2 files changed, 7 insertions, 11 deletions
diff --git a/TODO b/TODO
index 20537f87..b81ed361 100644
--- a/TODO
+++ b/TODO
@@ -101,12 +101,7 @@
- command to list what is actually running in each window with command line,
pid (need some adaption of the osdep code)
- options to change/remove the symbols (*-+ etc) in status line (bloat?)
-- status-fg/bg (and mode, message) are reversed, this is confusing if remove
- reverse from status-attr, but confusing by default if they are fixed. best
- would be to make fg/bg adaptive and have them do the right thing. need
- changes/additions to options though
-- support for bce
-- when the external term doesn't support setaf/setab, the term inside still
- does so programs which attempt to show reverse by swapping fg/bg colours
- rather than with the reverse attribute (eg mc) will display incorrectly ** if
- this was fixed, could lose reverse from status-fg/bg and fix reverse problems
+- asupport for bce
+- reset attributes when idle so ~./pkill are less likely to leave terminal upset
+- it would be nice if the start/end line keys in copy mode were aware of
+ wrapped lines
diff --git a/cmd-list-windows.c b/cmd-list-windows.c
index 19260324..635b20f2 100644
--- a/cmd-list-windows.c
+++ b/cmd-list-windows.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-list-windows.c,v 1.38 2009-07-28 22:12:16 tcunha Exp $ */
+/* $Id: cmd-list-windows.c,v 1.39 2009-08-08 16:03:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -71,9 +71,10 @@ cmd_list_windows_exec(struct cmd *self, struct cmd_ctx *ctx)
size += gd->hsize * (sizeof *gd->data);
size += gd->hsize * (sizeof *gd->size);
+ name = NULL;
if (wp->fd != -1)
name = ttyname(wp->fd);
- else
+ if (name == NULL)
name = "unknown";
ctx->print(ctx,
" %s [%ux%u] [history %u/%u, %llu bytes]",