From eb2428115588004a8bc04a09d45fb1104f727882 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 28 Sep 2026 13:58:36 -0300 Subject: Unattended messages expire in the detached session's loop, not as a 9P request is served serveFs expired them, but a read is answered while a step is out in a syscall, because reads change nothing, and this one changed pane messages and needs_frame from under the step. The detached session's loop now expires them between steps, and while nobody is attached and a message is up it looks again every 100 ms rather than waiting for something to wake it. Co-Authored-By: Claude Opus 5.5 --- docs/detached.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/detached.md b/docs/detached.md index 17c225f2..46e93fd5 100644 --- a/docs/detached.md +++ b/docs/detached.md @@ -19,8 +19,9 @@ turn a local editor into a detached session. A message stays until the next key or click dismisses it. With no frontend attached there is none to come, so a detached session drops each pane's -messages once the newest has been up `MessageLinger` on the clock, as the -editor is stepped or served over 9P; /screen then shows what is current. +messages once the newest has been up `MessageLinger` on the clock, checked +by the session's own loop between the editor's steps; /screen then shows +what is current. ## Files and transport -- cgit v1.3