Liking cljdoc? Tell your friends :D

charm.input.keymap

JLine KeyMap-based escape sequence handling.

Uses JLine's KeyMap for efficient O(1) escape sequence lookup with terminal capability awareness.

JLine KeyMap-based escape sequence handling.

Uses JLine's KeyMap for efficient O(1) escape sequence lookup
with terminal capability awareness.
raw docstring

create-keymapclj

(create-keymap)
(create-keymap terminal)

Create a KeyMap for escape sequence lookup.

When terminal is provided, uses terminal capabilities for sequences, falling back to standard sequences for terminals without capabilities.

Create a KeyMap for escape sequence lookup.

When terminal is provided, uses terminal capabilities for sequences,
falling back to standard sequences for terminals without capabilities.
sourceraw docstring

default-keymapclj

Default keymap using standard escape sequences.

Default keymap using standard escape sequences.
sourceraw docstring

lookupclj

(lookup keymap sequence)

Look up an escape sequence in the keymap. Returns the key event map or nil if not found.

sequence should be WITHOUT the ESC prefix (e.g., "[A" not "\e[A").

Look up an escape sequence in the keymap.
Returns the key event map or nil if not found.

sequence should be WITHOUT the ESC prefix (e.g., "[A" not "\e[A").
sourceraw docstring

lookup-or-unknownclj

(lookup-or-unknown keymap sequence)

Look up an escape sequence, returning unknown event if not found.

Look up an escape sequence, returning unknown event if not found.
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