Expand description
Structs§
- Complete
- Tab-completion state: candidates for the token at
start,expectbeing the whole line after the last insertion (an edit in between restarts the match). - History
- Prompt history per bucket, newest first.
- Line
Edit - The text of a line prompt and the cursor in it, as a char index.
Enums§
- Edit
- What a key did to the line, or what it asks the front end for.
Constants§
- KNOWN_
BUCKETS - The history buckets, mutt-style: one shared list per input class, named so a persisted file maps back onto them.
Functions§
- byte_at
- Byte offset of the
cursor-th char (the length when past the end).