1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 00:57:33 -05:00

Patch from Matsui Nag to implement xterm's "bracketed paste mode", in

which text pasted into the terminal is preceded and followed by
special function-key-like escape sequences ESC[200~ and ESC[201~ so
that the application can identify it and treat it specially (e.g.
disabling auto-indent-same-as-previous-line in text editors). Enabled
and disabled by ESC[?2004h and ESC[?2004l, and of course off by
default.

[originally from svn r9412]
This commit is contained in:
Simon Tatham
2012-02-19 10:27:18 +00:00
parent 053d2ba6d1
commit 21b04f5e00
2 changed files with 18 additions and 1 deletions

View File

@ -154,6 +154,8 @@ struct terminal_tag {
int xterm_mouse; /* send mouse messages to host */
int mouse_is_down; /* used while tracking mouse buttons */
int bracketed_paste;
int cset_attr[2];
/*