tui

Undocumented in source.

Members

Aliases

ButtonHandler
alias ButtonHandler = void delegate()
Undocumented in source.
Dimension
alias Dimension = Tuple!(int, "width", int, "height")
Undocumented in source.
InputHandler
alias InputHandler = bool delegate(KeyInput input)
Undocumented in source.
Position
alias Position = Tuple!(int, "x", int, "y")
Undocumented in source.

Classes

Button
class Button
Undocumented in source.
Component
class Component
Undocumented in source.
Context
class Context
Undocumented in source.
Filled
class Filled
Undocumented in source.
HSplit
class HSplit
Undocumented in source.
List
class List(T, alias stringTransform)
Undocumented in source.
MultilineText
class MultilineText
Undocumented in source.
NoKeyException
class NoKeyException
Undocumented in source.
ScrollPane
class ScrollPane
Undocumented in source.
Terminal
class Terminal
Undocumented in source.
Text
class Text
Undocumented in source.
Ui
class Ui
Undocumented in source.
UiInterface
class UiInterface
Undocumented in source.
VSplit
class VSplit
Undocumented in source.

Enums

Key
enum Key
Undocumented in source.
Mode
enum Mode
Undocumented in source.
Operation
enum Operation
Undocumented in source.
State
enum State
Undocumented in source.

Functions

byteCount
int byteCount(int k)
Undocumented in source. Be warned that the author may not have intended to support it.
clipTo
int clipTo(int v, size_t maximum)
Undocumented in source. Be warned that the author may not have intended to support it.
dropIgnoreAnsiEscapes
string dropIgnoreAnsiEscapes(string s, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
execute
string execute(Operation operation)
Undocumented in source. Be warned that the author may not have intended to support it.
execute
string execute(Operation operation, string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
next
auto next(Range r)
Undocumented in source. Be warned that the author may not have intended to support it.
signal
void signal(int sig, void function(int) )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
takeIgnoreAnsiEscapes
string takeIgnoreAnsiEscapes(string s, uint length)
Undocumented in source. Be warned that the author may not have intended to support it.
to
string to(State state, Mode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
windowSizeChangedSignalHandler
void windowSizeChangedSignalHandler(int )
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

KeyInput
struct KeyInput

either a special key like arrow or backspace or an utf-8 string (e.g. ä is already 2 bytes in an utf-8 string)

Refresh
struct Refresh
Undocumented in source.
Viewport
struct Viewport
Undocumented in source.

Variables

INSTANCE
Terminal INSTANCE;
Undocumented in source.
theUi
UiInterface theUi;
Undocumented in source.

Meta