Bracketed Paste Mode #56

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@stfnm
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.

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>

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

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>
@FauxFaux

This comment has been minimized.

Show comment Hide comment
@FauxFaux

FauxFaux Oct 25, 2012

Owner

In p0.62-t013.

Owner

FauxFaux commented Oct 25, 2012

In p0.62-t013.

@FauxFaux FauxFaux closed this Oct 25, 2012

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