[PATCH 0/1] add option to filter control characters on paste

2018-04-16 Thread Alexander Sergeyev
Hi, there is an issue recently (re)surfaced about being able to copy-paste control characters into a terminal -- like pasting some text into an opened vim might trigger arbitrary command execution (since the text might include characters corresponding to pressing ESC, then typing

[PATCH 1/1] add option to filter control characters on paste

2018-04-16 Thread Alexander Sergeyev
--- src/optinc.h| 1 + src/rsinc.h | 1 + src/screen.C| 63 - src/xdefaults.C | 1 + 4 files changed, 60 insertions(+), 6 deletions(-) diff --git a/src/optinc.h b/src/optinc.h index 09f9a26..befc68a 100644 --- a/src/optinc.h +++