summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authornicm <nicm>2022-05-30 13:00:18 +0000
committernicm <nicm>2022-05-30 13:00:18 +0000
commitcd89000c1d75d0cfec28cf7e81b06f80a43ea093 (patch)
tree3d7fa0df54cb6f87fa5f53a35a86ebe623f278cc /cfg.c
parent20b0b38cf47112c0219b5bd041d61c5a28fae0fd (diff)
Add a way for lines added to copy mode to be passed through the parser
to handle escape sequences and use it for run-shell, GitHub issue 3156.
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index 3130e323..d32e5ff1 100644
--- a/cfg.c
+++ b/cfg.c
@@ -251,7 +251,7 @@ cfg_show_causes(struct session *s)
if (wme == NULL || wme->mode != &window_view_mode)
window_pane_set_mode(wp, NULL, &window_view_mode, NULL, NULL);
for (i = 0; i < cfg_ncauses; i++) {
- window_copy_add(wp, "%s", cfg_causes[i]);
+ window_copy_add(wp, 0, "%s", cfg_causes[i]);
free(cfg_causes[i]);
}