Dmitry Kozlyuk 841dfdd06d cmdline: support Windows
Implement terminal handling, input polling, and vdprintf() for Windows.

Because Windows I/O model differs fundamentally from Unix and there is
no concept of character device, polling is simulated depending on the
underlying input device. Supporting non-terminal input is useful for
automated testing.

Windows emulation of VT100 uses "ESC [ E" for newline instead of
standard "ESC E", so add a workaround.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2020-10-15 00:39:10 +02:00
..
2020-10-14 14:37:51 +02:00
2020-10-15 00:39:10 +02:00
2020-10-09 13:17:43 +02:00
2020-10-06 21:51:03 +02:00
2020-10-06 10:31:13 +02:00
2020-10-14 14:42:29 +02:00
2020-10-15 00:39:10 +02:00