Documentation
¶
Overview ¶
Package ui implements the terminal text editor user interface.
Uses the tcell library for terminal event handling and rendering. The editor operates in three modes:
- Insert mode (default): direct text input, arrow key navigation
- Command mode: press : to enter, command bar at bottom
- Search mode: press Ctrl+F to enter, search bar at bottom
Design: The Editor struct holds all state; the main loop in Run() handles events and rendering. Rendering is split into three sections: body (line numbers + text), status bar, command/search bar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.