From 0c5b8a79a46f2b93c226812c654b714be8f432d1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 10 Jul 2009 17:34:52 +0000 Subject: Redraw the status line after renaming a session (it may contain the name). --- usr.bin/tmux/cmd-rename-session.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin') 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 @@ -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); } -- cgit v1.2.3