Community
Participate
Working Groups
CQ:WIND00246476 As per http://en.wikipedia.org/wiki/Ansi_terminal the ANSI "Set Graphics Rendition" command must support multiple subcommands, for example: [1;37;40m to set bold, white foreground, black background. The current terminal fails to interpret such multi-command style changes and applies the last change of such a sequence only (in this case: black background). The net effect is that on some systems, this can result in black-on-black text which is unreadable and thus a severe problem.
Problem was that in VT100Emulator.processAnsiCommand_m(), the current state of a style was not carried from one SGR sub-command to the next. Fixed.
While at it, I also implemented the "blink" and "underline" attributes.