The entry grid_terminal
Full-screen direct framebuffer monospace grid terminal for modus:terminal .
Reads typed terminal records from console on the shared terminal ring through the renderer intake of modus:terminal, and blits a Spleen 8x16 monospace grid with Modus 24-bit colors, Lex syntax highlighting, cursor, and interactive completion popup directly onto the framebuffer. It reads the keys of the input service from the input ring, in place of the compositor, and sends each press to its process: it is the one process that writes the screen. Zero compositor, zero window chrome, zero TrueType.
See: Desktop-free console renderers: Variant B: grid_terminal in the repository
grid_terminal module with an entry
- Hash
718df9a7c5bea13f5d079ef77f264171944e85c5c2937d6af9c00dc3485045ae- Size
81920 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
Full-screen direct framebuffer monospace grid terminal for modus:terminal
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/system/grid_terminal |
| Boot image | yes: in the boot image, 81920 bytes in this build |
| Build settings | none: the defaults of the source |
| Imports | none |
| Imported by | none |
Neighbours
It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.
Exports
| Export | What it does |
|---|---|
entry() |
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/system/grid_terminal/main.odin:57
Read from the source of the module, as the build reads it to describe the exports (tools/modustool/build/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | The terminal of a console image with no compositor on a machine with a screen: the framebuffer, where it draws a grid of characters, and the input ring, whose keys it sends to its process (renderer_terminal_start). | |
| Other terms of its start grant set | none | |
| Budget that it asks for |
| Working memory for the terminal ring mapping, text region, cell grid and the intake with its completion list, and one thread. |
The start grant set is read from start_grant_sets in src/modules/system/root/start_grant_sets.odin. The stated budget is read from the constant MODULE_BUDGET of the source of the module (its line); the build adds the counted parts and writes the sum in the module (tools/modustool/build/budget_count.odin); the root service accepts it up to the largest budget of a process, and adds the limits of processor time and of log records (src/modules/system/root/budgets.odin).
