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:
@ -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];
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user