You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 027fc9c
Browse filesBrowse the repository at this point in the historyBrowse files
gluck
committed
cli: Enter spells a notification out, and the pit paints its level
Two polish passes on the notifications pit, both asked for after living
with it (Gluck, 2026-09-30).
ENTER. It used to print the full date and the source under a row, which
is furniture: the row already carries the time and the aria. It now
spells the notification OUT, the way the state pit's Enter opens a value
(formView.Activate -> openBranch): the whole text, wrapped to the pane,
every line selectable and yanking the whole, so a long single line can be
read rather than clipped at the pane edge. Bounded at 200 lines, as an
opened form value is at 500, with the same "y yanks all of it".
THE LEVEL IS A COLOUR, not only a glyph. It cannot ride in the row's
text, which goes through pitText and loses every escape, so a row carries
a tone (pitRow.tone) and the picker paints it: the palette's own red for
an error, its yellow for a warning, nothing for info. Over the selection
wash each is the same colour lifted (term.NoticeOnWash), because
autumnRed on mid-grey reads at 1.9:1. A pit that sets no tone renders
byte for byte as it did before, which is asserted rather than assumed.
Tests, red first: two view cases (the whole text wrapped at width 60, and
no date or source anywhere in it) and one picker case (wash plus lifted
red on the selected row, the palette's red on an unselected one, an
untoned row unchanged byte for byte, no escape at all with colour off).
scripts/notifications-pty.sh grows four checks, each of which fails on
654d999 and passes here, plus the premise they rest on: the row really
cannot hold the text.
0 commit comments