Terminal

Instance of a terminal.

Constructors

this
this(File file)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

background
alias background = colorImpl!("background", 10)
Undocumented in source.
bold
alias bold = formatImpl!(1, 22)
Undocumented in source.
foreground
alias foreground = colorImpl!("foreground", 0)
Undocumented in source.
inversed
alias inversed = formatImpl!(7, 27, "reverse_video")
Undocumented in source.
italic
alias italic = formatImpl!(3, 23)
Undocumented in source.
overlined
alias overlined = formatImpl!(53, 55, "grid_horizontal")
Undocumented in source.
strikethrough
alias strikethrough = formatImpl!(9, 29)
Undocumented in source.
underlined
alias underlined = formatImpl!(4, 24, "underscore")
Undocumented in source.

Functions

reset
void reset()

Resets the colour (foreground and background) and formatting.

write
void write(E args)
Undocumented in source. Be warned that the author may not have intended to support it.
writeln
void writeln(E args)
Undocumented in source. Be warned that the author may not have intended to support it.
writelnr
void writelnr(E args)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

file
File file [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
uint height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size size [@property getter]

Gets the terminal's width (columns) and height (rows).

title
string title [@property getter]

Gets the console's title. Only works on Windows.

title
string title [@property setter]

Sets the console's title. The original title is usually restored when the program's execution ends.

width
uint width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta