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.
(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.
Default keymap using standard escape sequences.
Default keymap using standard escape sequences.
(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").
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |