]> git.armaanb.net Git - st.git/commit
Revert "support REP (repeat) escape sequence"
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 16 May 2020 16:06:42 +0000 (18:06 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 16 May 2020 19:06:13 +0000 (21:06 +0200)
commit475a0a36cb4fda1da30f014da65988e99b222876
tree4e39ee0b9f245f4ef16d8b1b0064900d8a2313b2
parente8392b282c2eaa28725241a9612804fb55113da4
Revert "support REP (repeat) escape sequence"

This reverts commit e8392b282c2eaa28725241a9612804fb55113da4.

There is currently a bug in older ncurses versions (like on OpenBSD) where a
fix for a bug with REP is not backported yet. Most likely in tty/tty_update.c:

Noticed while using lynx (which uses ncurses/curses).
To reproduce using lynx: echo "Z0000000" | lynx -stdin

or using the program:

int
main(void)
{
WINDOW *win;
win = initscr();

printw("Z0000000");

refresh();

sleep(5);

return 0;
}

This prints "ZZZZZZZ" (incorrectly).
st.c
st.info