Bracketed Paste Mode #56

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

stfnm commented Oct 19, 2012

This patch already existed in the "next" branch, so I cherry-picked the commit from there.
I find this feature extremely useful and thought it would be cool to have it already in the master branch and therefore also have it included in the next PuTTYTray release.

@stfnm simon 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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9412 cda61777-01e9-0310-a592-d414129be87e
Signed-off-by: stfn <stfnmd@gmail.com>
7dbe30e

@FauxFaux FauxFaux added a commit that referenced this pull request Oct 25, 2012

@FauxFaux simon + FauxFaux gh-56: bracketed paste mode
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.

Signed-off-by: stfn <stfnmd@gmail.com>
a287285
Owner

FauxFaux commented Oct 25, 2012

In p0.62-t013.

FauxFaux closed this Oct 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment