summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-set-option.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-03-29 20:31:22 +0000
committernicm <nicm@openbsd.org>2011-03-29 20:31:22 +0000
commitedaa5fb5819a04ca53e82bcff411d273ec165a28 (patch)
tree0329c724b9633160c7213c2bb0e92ccb4c73d7ad /usr.bin/tmux/cmd-set-option.c
parentdocument newly supported ioctls VIDIOC_S_PARM, VIDIOC_G_PARM and (diff)
downloadwireguard-openbsd-edaa5fb5819a04ca53e82bcff411d273ec165a28.tar.xz
wireguard-openbsd-edaa5fb5819a04ca53e82bcff411d273ec165a28.zip
Update an out-of-date and inaccurate comment.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
-rw-r--r--usr.bin/tmux/cmd-set-option.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c
index e1d77ad8c41..b4c2a5a2105 100644
--- a/usr.bin/tmux/cmd-set-option.c
+++ b/usr.bin/tmux/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-option.c,v 1.47 2011/01/26 01:54:56 nicm Exp $ */
+/* $OpenBSD: cmd-set-option.c,v 1.48 2011/03/29 20:31:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -166,11 +166,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx)
server_redraw_client(c);
}
- /*
- * Special-case: kill all persistent jobs if status-left, status-right
- * or set-titles-string have changed. Persistent jobs are only used by
- * the status line at the moment so this works XXX.
- */
+ /* Force redraw when some special cases change. */
if (strcmp(oe->name, "status-left") == 0 ||
strcmp(oe->name, "status-right") == 0 ||
strcmp(oe->name, "status") == 0 ||