1#ifndef UVW_TTY_INCLUDE_H
2#define UVW_TTY_INCLUDE_H
18enum class UVTTYModeT : std::underlying_type_t<uv_tty_mode_t> {
19 NORMAL = UV_TTY_MODE_NORMAL,
20 RAW = UV_TTY_MODE_RAW,
24enum class UVTTYVTermStateT : std::underlying_type_t<uv_tty_vtermstate_t> {
25 SUPPORTED = UV_TTY_SUPPORTED,
26 UNSUPPORTED = UV_TTY_UNSUPPORTED
50 static std::shared_ptr<details::ResetModeMemo> resetModeMemo();
53 using Mode = details::UVTTYModeT;
54 using VTermState = details::UVTTYVTermStateT;
134 std::shared_ptr<details::ResetModeMemo> memo;
bool readable() const noexcept
VTermState vtermState() const noexcept
Gets the current state of whether console virtual terminal sequences are handled by the library or th...
bool mode(Mode m)
Sets the TTY using the specified terminal mode.
WinSize getWinSize()
Gets the current Window size.
bool init()
Initializes the handle.
bool reset() noexcept
Resets TTY settings to default values.
details::UVTypeWrapper< uv_file > FileHandle
Windows size representation.