Documentation / @agentick/client / LineEditorOptions
Interface: LineEditorOptions
Defined in: client/src/line-editor.ts:14
LineEditor — framework-agnostic readline-quality line editor.
Manages buffer, cursor, kill ring, history, keybindings, and completion. Accepts normalized keystroke strings — each UI layer provides its own normalizer (e.g., Ink's Key → "ctrl+a").
Follows the same snapshot + onStateChange pattern as MessageSteering and ChatSession for easy integration with useSyncExternalStore.
Properties
bindings?
optionalbindings:Record<string,string>
Defined in: client/src/line-editor.ts:16
onSubmit()
onSubmit: (
value) =>void
Defined in: client/src/line-editor.ts:15
Parameters
value
string
Returns
void