my.tty

Members

Functions

isStderrInteractive
bool isStderrInteractive()
Undocumented in source. Be warned that the author may not have intended to support it.
isStdoutInteractive
bool isStdoutInteractive()
setCBreak
CBreak setCBreak(int fd)

Set the terminal to cbreak mode which mean it is change from line mode to character mode.

setInteractiveTty
void setInteractiveTty(std_.stdio.File tty)

Configure a tty for interactive input.

Structs

CBreak
struct CBreak

Used to reset the terminal to the original mode.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

Module to manipulate a file descriptor that point to a tty.