Sticky notes
A sticky note is a small handwritten sheet stuck to the top-right corner of one pane. It says what nothing else on screen can: why this pane exists, or what you want done in it. It's the first thing you read when you come back to a wall of panes.
Press Alt+S in a pane, type, and press Enter. Click the paper to edit it. Alt+Backspace peels it off, and Alt+S right after brings the words back. Right-click the paper to push a pin through it: a pinned note puts 📌 on its tab and on its row in the left bar, so it can call you back to a tab you aren't looking at.
Each pane holds one note, and notes survive a restart. The paper is one of the theme's own colours, and Alt+L finds a note by its words anywhere in the window. An agent can leave a note on its own pane through the MCP tool leave_note, with a title and up to ten words. The house rule for both: ten words, a shouty title, pinned only when it needs eyes.
Technical has the keys, the colours, the agent's side, and where notes are saved.
Notes
A note has an optional title, its text, a saved tilt and a pinned flag. A note you write is one piece of handwriting; titles come from agents, and from the one note Terminal Delight writes itself. Posting to a pane that already has a note replaces its words on the same paper.1
Keys#
| Key | Does |
|---|---|
| Alt+S | Start a note, or pick the pen up on the one that's there. Pressed while writing, it posts. It never deletes. |
| Enter, or a click off the paper | Post. Posting an empty note removes it. A click away also reaches the terminal underneath. |
| Esc while writing | Put the old text back, or drop a new blank note. The terminal never sees it. |
| Ctrl+V, Ctrl+Shift+V or Shift+Insert while writing | Paste into the note, as one line, up to the 160 characters it holds. Nothing reaches the shell underneath. |
| Alt+Backspace | Peel the note off. Only while a note is on the pane; otherwise it stays the shell's delete-word. |
| click the lifted bottom-left corner | Peel it off. |
| right-click the paper | Pin or unpin. A right-click beside the paper opens the pane's usual menu. |
| Alt+L | Find a note, or a project, group, tab or pane, by name. |
While you're writing, the note takes every key the window and the pane don't keep for themselves: Ctrl+W still asks to close the tab, Ctrl+F still opens find, and Ctrl+X with nothing selected in the terminal still sends ^X to the program underneath (issue 1247). Once it's posted it takes none, and Esc reaches the program in the pane as usual. A peeled note's words are kept: the next Alt+S opens them selected, so typing replaces them. The note holds 160 characters. A note half-written when the window closes is saved as far as you got. Alt+S is taken by the pane, so the shell underneath never receives it.1
Finding a note#
Alt+L opens LOOKUP, one list of every name in the window: projects, groups and tabs from the left bar, panes by their header title, and sticky notes by their words, headline first, each marked NOTE with where it sits written underneath. Type to narrow it, ↑ ↓ or Tab to move, and Enter to go to the pane the note is on. Esc or a second Alt+L closes it. When two rows match equally well, the wider thing comes first, so a project's name lands on the project.2
Pins#
Only right-click sets or clears a pin, and posting or editing leaves it alone. A pinned note shows 📌 on its tab, or 📌2 when several panes in the tab have pinned notes, placed before the agent badges so it keeps its spot. The left bar shows 📌 on the task row, and a folded branch rolls it up.1
Colours#
The paper is one of the theme's own colours, picked on the STICKY NOTE row in the THEME area of the painter (Ctrl+Shift+D on a pane, or 🎨 for the window; see Themes). The row shows three small notes in the colours they would be.3
| Choice | The paper |
|---|---|
contrast (the default) | The theme's named hue farthest from its accent, weighted by how vivid it is, so a faint hue can't win on distance alone. |
accent | The theme's accent. When the accent is a grey, or only the text colour, the named hue nearest the theme's surface tint stands in. |
mute | The theme's text colour on a dark screen, its surface colour on a light one. |
The paper is the theme's exact colour unless the theme's own ink, its background or its text, can't be read on it at 4.5:1, or it would vanish into the screen. Only then does it move, to its bright twin or else to the nearest lightness that reads, keeping its hue. The pin is the theme's red, or its accent when the paper is reddish. A pane or window with no note colour saved reads as contrast, so notes look different after upgrading from 0.3.0.3
How it looks#
- Handwriting in Caveat, on slightly see-through paper, never square: each note leans between 2.4° and 5.8°, and keeps its lean through restarts.
- 28% of the pane's width, between 128 and 200 px, up to four rows before the text shrinks.
- Drawn through the pane's barrel curve, so it sits flat on the curved glass.
- Panes smaller than 250 × 190 px don't show a note, since it would cover the terminal.
With the Chalk skin, a note is cut paper: a deckled edge, faint fibres, a strip of tape across the top, and a small five-petal flower on the curled corner in the pin's colour. A contrast note on Chalk is drawn on Chalk's own paper, faintly tinted with the accent, in the theme's text colour with a red pin; accent and mute keep their colours. A skin file asks for the same under [note] with decoration = "flower" and stock = true, and a skin whose material is paper gets both unless it says otherwise.4
Under TERMINIMALIST, and any skin with text controls and no boundaries, a note sits square, with no lean, still in handwriting and with the same gestures. Pinning it lifts it 4 px and tints it with the theme's complementary colour, and the pin mark reads pinned where other skins draw 📌. UI CONFIG's sticky notes switch hides every note.5
Notes from agents#
An agent posts with the MCP tool leave_note. The server must be on with writes allowed: the writes on · agents can restyle switch in the MCP SERVER group at the top of the agent wall (Ctrl+Shift+A, or the agent counter), or TD_MCP_WRITE at launch alongside TD_MCP. See MCP server.1
The agent counter opens the Threshing Floor instead, and its switches include the same one, labelled writes. The agent wall, now on Ctrl+Shift+A only, keeps its MCP SERVER group.5
| Argument | Meaning |
|---|---|
pid | The pane to note. Leave it out for your own pane. |
title | Up to 40 characters, drawn bigger and bolder. GET MILK!, NEEDS EYES, DONE ✓. |
text | Ten words or fewer. |
pin | Pin it. Default false. |
clear | Peel the note off. An empty title and text does the same. |
Too long is refused, with the count: note is 14 words; a sticky holds 10 or fewer — say what happened or what you need, not how it went. A title and text that together pass the paper's 160 characters are refused too: note is 171 characters; the paper holds 160. Success reads posted — the note is on pane 4121's glass. An agent's note is an ordinary note once posted: you can edit, pin or peel it, and a note the agent cleared comes back with Alt+S. list_panes reads every note back, on each pane's line as · 📝 title — text and in its note field.1
A note an agent wrote wears Terminal Delight's robot as an ink stamp in its bottom-right corner, so you can tell a note you wrote from one written for you. Changing its words makes it yours and the stamp comes off; opening it and posting it back unchanged leaves it the agent's. Every note records who wrote it, saved as by = "agent" or by = "person", and list_panes reports the same as by in the note field. A note from before this, which nobody can attribute, has no by and no stamp.5
The note Terminal Delight writes#
When a restore finds two tabs naming one conversation, the first keeps it and the second starts a fresh shell, which gets a note titled DUPLICATE TAB: Two tabs named one conversation. The first kept it; this is a fresh shell. A pane that already has a note keeps its own. See Sessions and restarts.6
Where notes are saved#
On the pane's entry in the session layout, ~/.config/terminal-delight/sessions/<session>.toml, beside its working directory: note = { title, text, seed, pinned }. Posting, peeling and pinning each save it.6
What would prove this wrong#
A posted note that swallows Esc, or any other key, breaks the rule the feature is built on: once it's on the glass it annotates the pane and never gets in the way of what runs in it. A paper colour whose ink reads below 4.5:1 on some theme breaks the colour rule.
Sources
- The note, its keys, look and saving: sticky.rs (
MAX_CHARS,tilt,layout,MIN_PANE,press) andsticky_key, with the paste, in pane.rs; pins on tabs and the left bar, and the agent wall'sMCP SERVERgroup with its writes switch: main.rs;leave_noteandlist_panes:validate_noteand the tool list in mcp.rs. LOOKUP: lookup.rs (rows, ranking,note_line), andopen_lookupand its keys in main.rs.- The three papers and the 4.5:1 rule: notepaper.rs; the choice:
NotePaperin theme.rs; theSTICKY NOTErow: main.rs, its labels in lang.rs. - Chalk's notes: the
paper_stockbranch ofpaintin sticky.rs,note_decoration,note_stockandnote_palettein skin.rs, andmaterial = "paper"in skins/chalk.toml. - 0.5.0:
Author,author_after_edit,stampand the flattiltin sticky.rs;marked_note_paletteandunboxedin skin.rs; the saved and reported writer,SavedNoteand its tests, and the Threshing Floor'swritesswitch (floor_sw_writes): main.rs; the switch:PaneNotesin uiconfig.rs. - The saved note and the duplicate-tab note:
SavedNote,duplicate_leaf_noteandnote_on_reattachin main.rs, its words in lang/chrome.rs.