Liking cljdoc? Tell your friends :D

charm.terminal

JLine terminal wrapper for charm.clj

JLine terminal wrapper for charm.clj
raw docstring

clear-screenclj

(clear-screen terminal)

Clear the terminal screen.

Clear the terminal screen.
sourceraw docstring

clear-to-end-of-lineclj

(clear-to-end-of-line terminal)

Clear from cursor to end of line.

Clear from cursor to end of line.
sourceraw docstring

clear-to-end-of-screenclj

(clear-to-end-of-screen terminal)

Clear from cursor to end of screen.

Clear from cursor to end of screen.
sourceraw docstring

closeclj

(close terminal)

Close the terminal and release resources.

Close the terminal and release resources.
sourceraw docstring

create-terminalclj

(create-terminal)

Create a JLine terminal with system I/O and FFM as native interface.

Create a JLine terminal with system I/O and FFM as native interface.
sourceraw docstring

cursor-downclj

(cursor-down terminal n)

Move cursor down n lines.

Move cursor down n lines.
sourceraw docstring

cursor-homeclj

(cursor-home terminal)

Move cursor to home position (0,0).

Move cursor to home position (0,0).
sourceraw docstring

cursor-upclj

(cursor-up terminal n)

Move cursor up n lines.

Move cursor up n lines.
sourceraw docstring

empty-argsclj

source

enter-alt-screenclj

(enter-alt-screen terminal)

Enter alternate screen buffer.

Enter alternate screen buffer.
sourceraw docstring

enter-raw-modeclj

(enter-raw-mode terminal)

Put terminal in raw mode for character-by-character input. Returns the previous Attributes for restoration.

Put terminal in raw mode for character-by-character input.
Returns the previous Attributes for restoration.
sourceraw docstring

exit-alt-screenclj

(exit-alt-screen terminal)

Exit alternate screen buffer.

Exit alternate screen buffer.
sourceraw docstring

flush-outputclj

(flush-output terminal)

Flush the terminal output.

Flush the terminal output.
sourceraw docstring

get-attributesclj

(get-attributes terminal)

Get the terminal's current attributes. Use this to save terminal state before modifications.

Get the terminal's current attributes.
Use this to save terminal state before modifications.
sourceraw docstring

get-readerclj

(get-reader terminal)

Get the terminal's non-blocking reader.

Get the terminal's non-blocking reader.
sourceraw docstring

get-sizeclj

(get-size terminal)

Get terminal dimensions as {:width cols :height rows}.

Get terminal dimensions as {:width cols :height rows}.
sourceraw docstring

get-writerclj

(get-writer terminal)

Get the terminal's print writer.

Get the terminal's print writer.
sourceraw docstring

hide-cursorclj

(hide-cursor terminal)

Hide the terminal cursor.

Hide the terminal cursor.
sourceraw docstring

move-cursorclj

(move-cursor terminal col row)

Move cursor to position (0-indexed).

Move cursor to position (0-indexed).
sourceraw docstring

set-attributesclj

(set-attributes terminal attrs)

Set the terminal's attributes. Use this to restore saved terminal state.

Set the terminal's attributes.
Use this to restore saved terminal state.
sourceraw docstring

show-cursorclj

(show-cursor terminal)

Show the terminal cursor.

Show the terminal cursor.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close