commit 9846a56bd7fdc86bf788db04bbbcbde7b7eb9952
Author:     Peter Hofmann <[email protected]>
AuthorDate: Sat Oct 7 07:41:02 2023 +0200
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sat Oct 7 12:16:59 2023 +0200

    Add terminfo entries for bracketed paste mode
    
    Helps Vim (and hopefully others) to discover that this feature exists
    without further user configuration.

diff --git a/st.info b/st.info
index 8201ad6..efab2cf 100644
--- 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)

Reply via email to