Expand description
Text-input editor: a buffer with a cursor and the editing operations the keymap names. It does no I/O, so it can be tested without a terminal; the only trace of drawing it keeps is the scroll position of the text it is shown in.
Structs§
- Editor
- A text buffer with a cursor. Loaded text is kept verbatim, newlines
included; a single-line editor cannot type one, a multi-line one
(
Editor::multiline) can and moves by lines.
Constants§
- TEXT_
AREA_ ROWS - Height of the text area, in lines.