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.
This commit is contained in:
Nicholas Marriott
2022-04-18 11:47:14 +01:00
parent e0c982c5ad
commit 58d1a206c6
6 changed files with 66 additions and 29 deletions

View File

@@ -856,7 +856,7 @@ cmdq_print(struct cmdq_item *item, const char *fmt, ...)
window_pane_set_mode(wp, NULL, &window_view_mode, NULL,
NULL);
}
window_copy_add(wp, "%s", msg);
window_copy_add(wp, 0, "%s", msg);
}
free(msg);