Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Commit 579f6cb

Browse files
pdfinnclaude
andcommitted
fix(lucipres): increase render channel capacity to prevent dropped results
renderdonech was chan[4] — when more than 4 async markdown renders were in-flight (rapid tab switching), render completions were silently dropped via non-blocking alt send. The artifact stayed stuck with rendering=1 and nil image, showing nothing when the tab was selected. Increase to chan[32] so results are not lost during fast tab switching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f28075a commit 579f6cb

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

appl/cmd/lucipres.b

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ init(ctxt: ref Draw->Context, args: list of string)
172172
# deliverevent() as soon as lucipres_g is set (before init completes).
173173
# alt send on a nil channel is a fatal "dereference of nil" in Dis.
174174
preseventch = chan[8] of string;
175-
renderdonech = chan[4] of ref RenderResult;
175+
renderdonech = chan[32] of ref RenderResult;
176176

177177
wmclient = load Wmclient Wmclient->PATH;
178178
if(wmclient == nil) {

dis/lucipres.dis

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)