diff options
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | cmd-link-window.c | 5 | ||||
-rw-r--r-- | session.c | 4 |
3 files changed, 6 insertions, 4 deletions
@@ -58,6 +58,7 @@ unlink window (error if window only linked to one session) tmux -s <sess> unlink-window -i<tgt idx> kill session (not bound by default) +- fix most(1) problems after scrolling - check for some reqd terminfo caps on startup -- For 0.2 -------------------------------------------------------------------- diff --git a/cmd-link-window.c b/cmd-link-window.c index f83f9c58..0fb0b7ea 100644 --- a/cmd-link-window.c +++ b/cmd-link-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-link-window.c,v 1.1 2007-10-26 13:03:59 nicm Exp $ */ +/* $Id: cmd-link-window.c,v 1.2 2007-10-26 13:35:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -140,7 +140,8 @@ cmd_link_window_exec(void *ptr, struct cmd_ctx *ctx) if (!data->flag_detached) { session_select(dst, wl->idx); server_redraw_session(dst); - } + } else + server_status_session(dst); if (!(ctx->flags & CMD_KEY)) server_write_client(c, MSG_EXIT, NULL, 0); @@ -1,4 +1,4 @@ -/* $Id: session.c,v 1.25 2007-10-26 12:29:07 nicm Exp $ */ +/* $Id: session.c,v 1.26 2007-10-26 13:35:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -115,7 +115,7 @@ session_create(const char *name, const char *cmd, u_int sx, u_int sy) session_destroy(s); return (NULL); } - session_select(s, i); + session_select(s, 0); return (s); } |