diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-08 16:03:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-08 16:03:09 +0000 |
commit | dcde77cd0964aa119547173ecd59345697fec7cd (patch) | |
tree | 560b0bfc53cbe5a3f62b6273778ab025735810dd | |
parent | f03dd8d216fa38eff69f4d0d5c8ccb0e9643dd69 (diff) | |
download | rtmux-dcde77cd0964aa119547173ecd59345697fec7cd.tar.gz rtmux-dcde77cd0964aa119547173ecd59345697fec7cd.tar.bz2 rtmux-dcde77cd0964aa119547173ecd59345697fec7cd.zip |
Update.
-rw-r--r-- | TODO | 13 | ||||
-rw-r--r-- | cmd-list-windows.c | 5 |
2 files changed, 7 insertions, 11 deletions
@@ -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]", |