[hackers] [st][PATCH] Add terminfo entries for bracketed paste mode

From: Peter Hofmann <suckless-dev-list_AT_uninformativ.de>
Date: Sat, 7 Oct 2023 07:41:02 +0200

From: Peter Hofmann <scm_AT_uninformativ.de>

Helps Vim (and hopefully others) to discover that this feature exists
without further user configuration.
---
 st.info | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/st.info b/st.info
index 8201ad6..efab2cf 100644
--- a/st.info
+++ b/st.info
_AT_@ -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)
-- 
2.42.0
Received on Sat Oct 07 2023 - 07:41:02 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 07 2023 - 07:48:37 CEST