dcell.wintty

Windows TTY support for dcell.

Members

Classes

WinTty
class WinTty

WinTty impleements the Tty using the VT input mode and the Win32 ReadConsoleInput and WriteConsole APIs. We use this instead of ReadFile/WriteFile in order to obtain resize events, and access to the screen size. The terminal is expected to be connected the the process' STD_INPUT_HANDLE and STD_OUTPUT_HANDLE.

Functions

CloseHandle
BOOL CloseHandle(HANDLE hObject)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
CreateEventW
HANDLE CreateEventW(SECURITY_ATTRIBUTES* secAttr, BOOL bManualReset, BOOL bInitialState, LPCWSTR lpName)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
FlushConsoleInputBuffer
BOOL FlushConsoleInputBuffer(HANDLE hConsoleInput)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
GetConsoleMode
BOOL GetConsoleMode(HANDLE hConsoleHandle, DWORD* lpMode)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
GetConsoleScreenBufferInfo
BOOL GetConsoleScreenBufferInfo(HANDLE hConsoleOutput, CONSOLE_SCREEN_BUFFER_INFO* lpConsoleScreenBufferInfo)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
GetNumberOfConsoleInputEvents
BOOL GetNumberOfConsoleInputEvents(HANDLE hConsoleInput, DWORD* lpcNumberOfEvents)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
ReadConsoleInputW
BOOL ReadConsoleInputW(HANDLE hConsoleInput, INPUT_RECORD* lpBuffer, DWORD nLength, DWORD* lpNumEventsRead)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
SetConsoleMode
BOOL SetConsoleMode(HANDLE hConsoleHandle, DWORD dwMode)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
SetEvent
BOOL SetEvent(HANDLE hEvent)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WaitForMultipleObjects
DWORD WaitForMultipleObjects(DWORD nCount, HANDLE* lpHandles, BOOL bWaitAll, DWORD dwMilliseconds)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WriteConsoleW
BOOL WriteConsoleW(HANDLE hFile, LPCVOID buf, DWORD nNumBytesToWrite, LPDWORD lpNumBytesWritten, LPVOID rsvd)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Meta

Authors

Garrett D'Amore

License

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE or https://www.boost.org/LICENSE_1_0.txt) SPDX-License-Identifier: BSL-1.0