Open alexrp opened 4 years ago
Hey, Just discovered your library and it's greatly designed!
I found one issue probably related to this issue. While trying this program:
Terminal.OutLine("Type some text:");
while (true)
{
var line = Terminal.ReadLine();
if (line == null) break;
Terminal.OutLine(line);
}
In CMD, the input seems to not always work on enter
, sometimes it happens straight, sometimes it happens after the first inputted line.
Could be that ENABLE_VIRTUAL_TERMINAL_INPUT
is also messing around for that case, I haven't investigated what's exactly received by ReadLine
.
That's most likely unrelated and could be related to the recently-added cancellation support.
Would you mind filing a separate issue with more info? (Library version, Windows version, etc.)
When switching to virtual terminal mode, it seems that the behaviors of Backspace and Ctrl-Backspace are swapped.
More details in: https://github.com/microsoft/terminal/issues/4949