]> Sergey Matveev's repositories - st.git/commitdiff
Add terminfo entries for bracketed paste mode
authorPeter Hofmann <scm@uninformativ.de>
Sat, 7 Oct 2023 05:41:02 +0000 (07:41 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 7 Oct 2023 10:16:59 +0000 (12:16 +0200)
Helps Vim (and hopefully others) to discover that this feature exists
without further user configuration.

st.info

diff --git a/st.info b/st.info
index 8201ad62c20f4431baa318ddaad45510a185f41a..efab2cf767f2e4616a146c2e24206c13a048b5fa 100644 (file)
--- a/st.info
+++ b/st.info
@@ -184,6 +184,10 @@ st-mono| simpleterm monocolor,
 # XTerm extensions
        rmxx=\E[29m,
        smxx=\E[9m,
+       BE=\E[?2004h,
+       BD=\E[?2004l,
+       PS=\E[200~,
+       PE=\E[201~,
 # disabled rep for now: causes some issues with older ncurses versions.
 #      rep=%p1%c\E[%p2%{1}%-%db,
 # tmux extensions, see TERMINFO EXTENSIONS in tmux(1)