aboutsummaryrefslogtreecommitdiff
path: root/st.info
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-05-30 21:34:57 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-05-30 22:04:28 +0200
commit94b8ec002101a5e8f52a342e53431eea71aa0631 (patch)
tree67d5e3b8753b6aefc2bce17a982a4818edd5cb41 /st.info
parentdec6b530a4fddf405c1822b2cac6e2036d3c8b75 (diff)
downloadst-94b8ec002101a5e8f52a342e53431eea71aa0631.tar.gz
st-94b8ec002101a5e8f52a342e53431eea71aa0631.tar.bz2
st-94b8ec002101a5e8f52a342e53431eea71aa0631.zip
Partially add back in "support REP (repeat) escape sequence"
Add the functionality back in for xterm compatibility, but do not expose the capability in st.info (yet). Some notes: It was reverted because it caused some issues with ncurses in some configurations, namely when using BSD padding (--enable-bsdpad, BSD_TPUTS) in ncurses it caused issues with repeating digits. A fix has been upstreamed in ncurses since snapshot 20200523. The fix is also backported to OpenBSD -current.
Diffstat (limited to 'st.info')
-rw-r--r--st.info2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.info b/st.info
index d0694e2..8201ad6 100644
--- a/st.info
+++ b/st.info
@@ -184,6 +184,8 @@ st-mono| simpleterm monocolor,
# XTerm extensions
rmxx=\E[29m,
smxx=\E[9m,
+# 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)
Tc,
Ms=\E]52;%p1%s;%p2%s\007,