aboutsummaryrefslogtreecommitdiff
path: root/win32/termios.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: add virtual terminal support to termios(3)Ron Yorston2023-03-051-111/+17
| | | | | | | | | | | | Modify `struct termios` to support Windows virtual terminals. Native console mode flags replace the Unix `c_?flag` structure members. Remove unsupported flags from termios.h. Add implementations of tcgetattr(3)/tcsetattr(3) to get/set console flags when virtual terminal input mode is enabled. Add support for emulating raw mode to get_termios_and_make_raw(). This (and related functions) are exposed but not yet used.
* win32: exclude termios codeRon Yorston2018-04-051-4/+0
| | | | | The code to manipulate terminal settings serves no purpose in WIN32. Use conditional compilation to exclude much of it.
* win32: add termios.hNguyễn Thái Ngọc Duy2010-09-101-0/+129
Just some declaration enough to build. Proper TTY support may come later, targeting Cygwin-based terminals.