terminal.ansiBackgroundColorCode
proc ansiBackgroundColorCode(color: Color): string
- Kind
- proc
- Module
terminal
Source: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
The entries of terminal in the Nim reference. This page has 39 cards.
proc ansiBackgroundColorCode(color: Color): string
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc ansiForegroundColorCode(color: Color): string
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const ansiResetCode
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc ansiStyleCode(style: int): string
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc cursorBackward(f: File; count = 1)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc cursorDown(f: File; count = 1)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc cursorForward(f: File; count = 1)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc cursorUp(f: File; count = 1)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc disableTrueColors()
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc enableTrueColors()
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc eraseLine(f: File)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc eraseScreen(f: File)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getch(): char
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getCursorPos(): tuple[x, y: int]
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc hideCursor(f: File)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isatty(f: File): bool
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isTrueColorSupported(): bool
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc readPasswordFromStdin(prompt = "password: "): string
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc resetAttributes()
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setBackgroundColor(f: File; bg: BackgroundColor; bright = false)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setCursorPos(f: File; x, y: int)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setCursorXPos(f: File; x: int)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setCursorYPos(f: File; y: int)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setForegroundColor(f: File; color: Color)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setStyle(f: File; style: set[Style])
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc showCursor(f: File)
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
template styledEcho(args: varargs[untyped])
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
macro styledWrite(f: File; m: varargs[typed]): untyped
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
template styledWriteLine(f: File; args: varargs[untyped])
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc terminalHeight(): int
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc terminalHeightIoctl(handles: openArray[Handle]): int
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc terminalSize(): tuple[w, h: int]
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc terminalWidth(): int
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc terminalWidthIoctl(handles: openArray[Handle]): int
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc writeStyled(txt: string; style: set[Style] = {styleBright})
terminalSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.