pod.epiccastle.bbssh.terminal

A set of functions related to the terminal and its modes

carriage-return

ctrl-c

enter-raw-mode

(enter-raw-mode & [n])

switch the present terminal into raw mode

get-width

(get-width)

return the width of the terminal

is-terminal?

(is-terminal?)

Returns true is stdout is connected to a terminal

leave-raw-mode

(leave-raw-mode & [n])

switch the present terminal out of raw mode

raw-mode-readline

(raw-mode-readline)

Read input from stdin with terminal in raw mode.