Opened 4 years ago
Closed 4 years ago
#16724 closed bug (fixed)
[Terminal] repeated characters are not displayed correctly via ncurses
Reported by: | benmwebb | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta3 |
Component: | Applications/Terminal | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
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?
Attachments (1)
Change History (4)
by , 4 years ago
Attachment: | curses_test.c added |
---|
comment:1 by , 4 years ago
Platform: | x86-64 → All |
---|
comment:3 by , 4 years ago
Milestone: | Unscheduled → R1/beta3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in hrev54849. Thanks for reporting!
Indeed, it seems highly probable that this needs to be implemented.