#16724: [Terminal] repeated characters are not displayed correctly via ncurses
-----------------------------------+--------------------------
Reporter: benmwebb | Owner: jackburton
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/Terminal | Version: R1/beta2
Keywords: | Blocked By:
Blocking: | Platform: x86-64
-----------------------------------+--------------------------
Terminal does not display repeated characters correctly when using
ncurses6, instead squashing them down to a single character, when using
the default `xterm-256color` terminal type (`TERM` env variable).
I'm seeing this with R1/beta2 on x86_64, but also checked the latest
nightly (hrev54840) and got the same result.
The attached program, compiled with `gcc curses_test.c $(ncurses6-config
--cflags --libs)` , will print just a single "A" rather than the expected
"AAAAAAAAAA". (`ncurses6-config --version` reports 6.2.20200212.)
Note that if `TERM` is set to `xterm-color` everything works correctly.
Maybe the underlying issue is https://invisible-
island.net/ncurses/ncurses.faq.html#xterm_generic ? i.e. ncurses6 uses the
ECMA-48 REP character since `xterm-256color` says it's supported but
Terminal does not implement it?
--
Ticket URL: <https://dev.haiku-os.org/ticket/16724>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.