Do not display configuration file errors in a pane when in control mode,

instead report them with a %config-error notification. GitHub issue 3193.
This commit is contained in:
nicm
2022-06-20 07:59:37 +00:00
parent d9f84854ac
commit a888ce9963
3 changed files with 24 additions and 4 deletions

View File

@ -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);