Design notes¶
The user guide explains how to configure and use jotty. These notes are for people changing it: how the pieces fit together, the protocols and escape sequences involved, and the details behind behavior the user guide only summarizes.
Start with the user guide when a detail affects configuration or normal use. Use a design note when it explains a subsystem's internals, its limits, or behavior a change could break.
- Architecture overview: the event loop, the modules, and
where
unsafelives - Terminal and PTY: the grid, scrollback, reflow, images, the pseudo-terminal and terminfo
- Input: keys, key bindings, the mouse and input methods
- Rendering: building frames, the GPU and CPU renderers, fonts and emoji
- Windows: several windows per process, single instance, scaling, the bell and notifications
- Clipboard: copying, pasting and OSC 52
- Config and overrides: loading, reloading and
jotty config - Escape sequences for programs: colors, the cursor, notifications, the clipboard and shell marks
- Links, files and hints: what counts as a link, a file or a hint target
See Development for building, testing and debugging.