sily.terminal

Utils to work with terminal

Modules

input
module sily.terminal.input
Undocumented in source.
linux
module sily.terminal.linux
posix
module sily.terminal.posix

Posix specific terminal utils

windows
module sily.terminal.windows

Windows specific terminal utils. Made only to handle unicode page and get terminal size. It is not in any means stable or finished or should be used in production. Please just use linux, it's so much better in that regard

Public Imports

sily.terminal.windows
public import sily.terminal.windows;
Undocumented in source.
sily.terminal.posix
public import sily.terminal.posix;
Undocumented in source.

Members

Aliases

ExitCode
alias ExitCode = ErrorCode

Alias to ErrorCode enum

Enums

ColorSupport
enum ColorSupport
Undocumented in source.
ErrorCode
enum ErrorCode

Enum containing common exit codes

Functions

exit
void exit(ErrorCode code)

Forcefully closes application

sleep
void sleep(uint msecs)

Sleeps for set amount of msecs

terminalColorSupport
ColorSupport terminalColorSupport(ColorSupport defaultColor)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta