summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2022-04-18 11:47:14 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-18 11:47:14 +0100
commit58d1a206c6ae6b33059ea6b469c21dad92ea0841 (patch)
tree7a27d44d3631833c77536a700e509d5e08fbb562 /cfg.c
parente0c982c5adf54fcfc7c6e588b1350fd8ae474310 (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 5b64c2aa..e92faa7c 100644
--- a/cfg.c
+++ b/cfg.c
@@ -250,7 +250,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]);
}