the terminal view
F2 shows the plain 80 by 24 screen, for trust and debugging.
Builtneeds review3 changes builtSeen all the timeLast touched November 21, 2026: a change of its own was written or changed. Commit e7ad3109d.
In the terminal
It is the tty screen: message line, map and status lines.
Quotes from NetHack
The bottom two (or three) lines of the screen contain several cryptic pieces of information describing your current status.
Decisions
Walking, the arrows are relative to facing. Up steps forward, left and right turn.
Codex draws itFull text
Arrows relative to facing when walking: ↑ forward, ↓ back (keeps facing), ←/→ turn in place (90°, Shift for 45°: D-50), Shift+↑ run. One NetHack command per press. F2 terminal view, F3 first/third person. NetHack's own direction keys stay absolute.
Backlog decisions: D-9In Codex
F2 and the corner map draw the player's own colors and highlights, as their own terminal does.
Builtneeds reviewCamera or view
Details
What the player's own terminal draws beyond NetHack's colors, drawn where Codex draws the terminal's letters (N-119, N-151, N-78; X-459's cells): on the terminal view (F2) and the corner map, a symset's glyph colors (protocol 4's custom_color: IBMGraphics_2, NetHack's Windows default and Dad's, makes the Gnomish Mines' walls brown, Sokoban's blue, Gehennom's red and Ludios's yellow, as wintty.c draws them on a console of 256 colors); on F2's two status lines, the player's status highlights from the same runs the HUD draws (nh_state::status::lines: color, bold, dim, underline, blink, and inverse as the hit point bar's block), each cell in the terminal's own color with only the attributes the player asked for ("normal", botl.h HL_NONE, is none: Dad's hitpoints/100%/gray&normal stays the line's gray; the HUD's brighter text stays out of F2; status_lines.draw_highlights = false keeps only the colors); and while a position prompt highlights the squares it accepts (getpos.c, with bgcolors: a stinking cloud's center, a jump, a polearm, a grapple, a spell's target), the color the tty paints behind them (protocol 4's frame, HI_ZAP's bright blue) behind those squares, on F2 and on the corner map, where wintty.c also leaves the pet's mark off; on the corner map the cursor's box stays over the blue, and on a square the prompt paints it dims to half in its blink rather than going out, since nothing else there says where the cursor is. The terminal's own bright blue holds a gray letter at 1.6:1, so the blue is drawn at position_highlight of its brightness: 0.45 a deep blue, 5.2:1 for a gray '.' in F2 and 4.4:1 on the corner map (hud-terminal, measured); 1 the terminal's own. own_colors = false draws NetHack's colors alone, gray, as before. Behind F2's letters the inverse blocks and the blue come up with the letters as the world lies down (N-499). The HUD's own status lines and the world are unchanged.
- Id
codex.own_colors- Exact state
- Built, not reviewed
- Playtests
hud-terminal- Settings
terminal_view.own_colors,terminal_view.position_highlight- Code
crates/nh-state/src/terminal.rs,crates/codex-client/src/hud.rs,crates/codex-client/src/minimap.rs,assets/shaders/minimap.wesl,crates/nh-knobs/src/terminal_view/own_colors.rs
| N-119 | Built, not reviewed | The terminal view and the minimap in the player's own colors |
| N-151 | Built, not reviewed | The F2 view's status lines in the player's highlights |
| N-78 | Built, not reviewed | The position prompt's highlight is dropped |
F2 gathers the world into the terminal as the map flies onto its rows, and the game opens back out.
Builtneeds reviewCamera or view
Details
N-263 (the minimap as the projection point, N-233; the director's Marathon reference): switching to the terminal view, the map flies from its corner into the terminal's own map rows, its squares stretching from square to the terminal's tall cells, while the world fades, so each square lands where the terminal's letter appears and gives way to it; switching back, the other way (gathers_the_map). The game opens on the terminal, held there until the hero is on the map, then the world opens out of it over opening_seconds, the map flying to its corner. Keys are never held: any F2 meanwhile ends the opening.
- Id
codex.terminal_gathers- Exact state
- Built, not reviewed
- Playtests
journey-dads-options- Settings
terminal_view.gathers_the_map,terminal_view.opening_seconds,terminal_view.fade_seconds- Code
crates/codex-client/src/hud.rs,crates/codex-client/src/minimap.rs
| N-233 | To do | The minimap as the projection point |
| N-263 | Done | Mode switching |
F2 lays the world down into the terminal's map rows, wall onto letter. The game opens the other way.
Builtneeds reviewCamera or view
Details
N-499 (D-99; N-263 upgraded): F2 turns depth's dial (codex.depth_dial) instead of fading. The world lies down onto the terminal's own map rows; when it lies flat and still the terminal's letters come up over the stone, each on the square it is the letter of; then the terminal's page darkens and the letters are left (into_the_terminal, into_the_terminal_seconds: the world flat by 0.62 of them, the letters up by 0.86, the page dark at the end). F2 again plays it backward: the stone shows under the letters, the letters go, the world stands up. The map in its corner does not fly: it gives way as the world leaves and comes back as it stands. From the map view the move takes two thirds of the time: it is the view nearest the map already. The game opens the same way (at_the_opening): held on the terminal until the hero is on the map, then the world stands up out of the terminal's map over terminal_view.opening_seconds. Keys never wait: another key while it moves and what is left plays in 0.3 s. Off, each is as it was (codex.terminal_gathers). N-502 (decided 2026-11-15, "whatever is native is best"; D-128 question 64: on, the old cover and its setting gone): the messages and the status lines fade themselves as the terminal's letters come and go, their letters, shadow, the bands behind them and their dark backing together (`hud.rs` `HudShown`, `fade_blocks`); the cover that dimmed them (3 of 255 darker than the page for a quarter second) is deleted. Filmed in tests/films/hud-fades-itself.json. In a browser (X-4255) the terminal the game opens on is first the page's own, laid out as the client lays its terminal view out and played on while the client's program arrives; the client holds its terminal view under it until the page hands the game over, and the world then stands up the same way.
- Id
codex.terminal_lies_down- Exact state
- Built, not reviewed
- Playtests
journey-game,journey-dads-options,hud-fades-itself- Settings
lying_down.into_the_terminal,lying_down.into_the_terminal_seconds,lying_down.at_the_opening- Code
crates/codex-client/src/hud.rs,crates/nh-plays/src/shot/depth.rs,crates/codex-client/src/minimap.rs,web/terminal.ts
| N-233 | To do | The minimap as the projection point |
| N-263 | Done | Mode switching |
| N-499 | Done | The projection, built: depth's dial and three thresholds |
Applies to everything on the map (1)
- F2 fades the world out to the plain terminal screen as the game would show it, and back again.
Accepted pictures and playtests
Playtests: hud-terminal, journey-dads-options, journey-game, hud-fades-itself
Planned and proposed
In progress The world lies down onto the map it is made from, wall onto letter, and stands up out of it.
Asked for in these words: “Danny, 2026-11-14 (D-99): "Would you like to send a Fable agent out in a single fleet thread to build the first iteration and near final draft of what the projection mode would look like when complete?"”
Left to do: The director keeps or drops each move from its films. Magic mapping's beat in the world and the ending are not built.
Details for builders
Id: terminal_view. Lexicon subjects: lens.terminal_view.
Backlog rows
| N-119 | Built, not reviewed | The terminal view and the minimap in the player's own colors |
| N-151 | Built, not reviewed | The F2 view's status lines in the player's highlights |
| N-78 | Built, not reviewed | The position prompt's highlight is dropped |
| N-233 | To do | The minimap as the projection point |
| N-263 | Done | Mode switching |
| N-499 | Done | The projection, built: depth's dial and three thresholds |
