Uni/Term#

Interface to the termios struct.

Info

To use declarations from this page, include the <essence/uni/term.hpp> header.

The declarations are within the essence::uni namespace.

struct termios term::currenttermios()#

Get the current termios settings.

inline const termios term::originaltermios#

The termios settings captured at application start, for restoration.

struct term::area#

The width and height of a terminal.

i32 width#
i32 height#
enum class term::echo : bool#
enumerator on = true#
enumerator off = false#
enum class term::inputbuffer#
enumerator canon#
enumerator immediate#
enum class term::screenbuffer#
enumerator normal#
enumerator alternate#
enum class term::cursor : bool#
enumerator show = true#
enumerator hide = false#
enum class term::autowrap : bool#
enumerator on = true#
enumerator off = false#
template<typename T>
concept term::setable#

A type that can be set in the termios struct.

Valid Expression