summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-03-29 20:31:22 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-03-29 20:31:22 +0000
commit25d551e8b257699a3066b6aae247d97d8ddf7c7a (patch)
tree839dfd5f9529d8fec554ae07dc13d0ac61b342fa /cmd-set-option.c
parentd88c20e718f71acf146cb91eda2f818f37003ad0 (diff)
Update an out-of-date and inaccurate comment.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 2155bba0..13fc5eb8 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -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 ||