summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authornicm <nicm>2022-06-20 07:59:37 +0000
committernicm <nicm>2022-06-20 07:59:37 +0000
commita888ce9963053c790c6ee9bf64cc53d95f0f9c09 (patch)
tree023976acf9433f2f28435ed97fcd9edf4759c6c0 /cmd-new-session.c
parentd9f84854ac01c8d4f6d5507e88d1dc7bcdd99558 (diff)
Do not display configuration file errors in a pane when in control mode,
instead report them with a %config-error notification. GitHub issue 3193.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index cb9abfb3..b946f049 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -335,7 +335,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
/*
* If there are still configuration file errors to display, put the new
- * session's current window into more mode and display them now.
+ * session's current window into view mode and display them now.
*/
if (cfg_finished)
cfg_show_causes(s);