VT52 cursor left sequence conflicts with VT100 index sequence #144
Labels
Area-VT
Virtual Terminal sequence support
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Conhost
For issues in the Console codebase
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Microsoft Windows [Version 10.0.16299.309]
I was trying to use the IND (index) sequence,
ESC D
, which is defined in the VT100 manual as follows:But instead of moving down a line, it moved left. Example test case:
In a Windows 10 bash console, this produces the following output:
In a Linux console it works as expected:
I assume this is because the sequence is being interpreted as a VT52 cursor left command, but typically those VT52 sequences would only be active on a VT100 compatible terminal when the DECANM mode had been set to VT52, if at all.
I would expect the
ESC D
sequence to be interpreted as a VT100 index command, and not a VT52 cursor left command.I understand that not every VT100 sequence is going to be supported, but when that is the case, I would expect the sequence to be ignored completely. And to avoid conflicts like this, I think it would be preferable if any supported VT52 sequences were only active when the VT52 compatibility mode was actually enabled.
The text was updated successfully, but these errors were encountered: