Skip to main content

Module editor

Module editor 

Source
Expand description

Text-input editor supporting both emacs-style readline bindings and a minimal vim-motion mode. The editor is pure state — it does not own any terminal or ratatui types, so it can be tested without I/O.

Structs§

Editor
A single-line text buffer with a cursor. Multi-line editing is not needed for any current form field (transaction notes are one-line memos today) but could grow in-place later.

Enums§

EditMode
Edit mode for text-input widgets.
VimAction
Named vim-mode actions the event layer can invoke.
VimMode
Vim sub-mode. Only relevant when EditMode::Vim is active.