diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-10 17:34:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-10 17:34:52 +0000 |
commit | 0c5b8a79a46f2b93c226812c654b714be8f432d1 (patch) | |
tree | cb119b4334ee786172bdba82273747a795033a87 | |
parent | 36f2ca308cd42b8c6ac39b93ee48a824307705fe (diff) |
Redraw the status line after renaming a session (it may contain the name).
-rw-r--r-- | usr.bin/tmux/cmd-rename-session.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-rename-session.c b/usr.bin/tmux/cmd-rename-session.c index dfeba64d8ff..5898f89fb2a 100644 --- a/usr.bin/tmux/cmd-rename-session.c +++ b/usr.bin/tmux/cmd-rename-session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-rename-session.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */ +/* $OpenBSD: cmd-rename-session.c,v 1.2 2009/07/10 17:34:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -53,5 +53,7 @@ cmd_rename_session_exec(struct cmd *self, struct cmd_ctx *ctx) xfree(s->name); s->name = xstrdup(data->arg); + server_status_session(s); + return (0); } |