Partially add back in "support REP (repeat) escape sequence"
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 30 May 2020 19:34:57 +0000 (21:34 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 30 May 2020 20:04:28 +0000 (22:04 +0200)
commit94b8ec002101a5e8f52a342e53431eea71aa0631
tree67d5e3b8753b6aefc2bce17a982a4818edd5cb41
parentdec6b530a4fddf405c1822b2cac6e2036d3c8b75
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.
st.c
st.info