-
Hi, I'm working on a cross-platform readline-esque library and one of the goals is to take full advantage of the capabilities of whatever terminal emulator is being used. From what I understood reading the Console API docs on MSDN, Windows Terminal seems to be trying to move away from the Win32 Console API and behave more like terminals on other platforms, supporting various CSI and DCS escape sequences etc., but I have some questions:
Sorry if this is all documented somewhere and I missed it. Any links to further reading would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes. For anything where there's a VT equivalent, I'd try to use VT, but otherwise the console APIs are just fine.
If there's a behavior difference between conhost and Windows Terminal, I'd consider that a bug. But not necessarily a bug in Windows Terminal: When you request I'm not sure how familiar you are with FYI: If you'd like to be performant, please try to avoid emitting small |
Beta Was this translation helpful? Give feedback.
Yes. For anything where there's a VT equivalent, I'd try to use VT, but otherwise the console APIs are just fine.
If there's a behavior difference between conhost and Windows Terminal, I'd consider that a bug. But not necessarily a bug in Windows Terminal: When you request
ENABLE_VIRTUAL_TERMINAL_INPUT
we'll give you an UNIX-stylestdin
that cannot for instance represent pressing …