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

@ -1078,6 +1078,9 @@ input_reply(struct input_ctx *ictx, const char *fmt, ...)
va_list ap;
char *reply;
if (bev == NULL)
return;
va_start(ap, fmt);
xvasprintf(&reply, fmt, ap);
va_end(ap);