From: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 16 May 2020 16:06:42 +0000 (+0200)
Subject: Revert "support REP (repeat) escape sequence"
X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/475a0a36cb4fda1da30f014da65988e99b222876?ds=sidebyside;hp=475a0a36cb4fda1da30f014da65988e99b222876

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).
---