diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 12:13:55 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 12:23:08 -0300 |
| commit | 3b3264d4236ae5624a46e0119c77d9ff2148a6d1 (patch) | |
| tree | bc9a881e7590a6c367b0fe1e50ae7608128ef1a8 /dev/KindJob.zig | |
| parent | fe8d39e583cd19458727aa1caf01af3cc15abda6 (diff) | |
| download | pardes-3b3264d4236ae5624a46e0119c77d9ff2148a6d1.tar.gz pardes-3b3264d4236ae5624a46e0119c77d9ff2148a6d1.zip | |
gui, tui: a run of pointer motions is one input, merged where the window's events become inputs (dispatch holds the last, Input.moved; Input.post posts it before whatever input comes next, a pass's end posts it), so the session's own window and a client's window, and every road into either (SDL's queue, the test feed, a finger's or a pad's posts after it), take motions the same way: the user's "resizing feels very slow with several clients" (2026-11-24): a client window fed every SDL event as an input (Client.wait), each a step of the session, a unit to every client and a frame of each; and the session's own window, with a client attached, held every motion after a wait's first for the next wait (Shell.split ran before waitInput's own merging loop), a wait, a pump, a unit and a frame a motion (the hunt's real window: 1652 motions in 0.35 s were 1655 frames of the session, 0.65 s behind the pointer); now split takes a motion after a motion as the same input, waitInput's merging loop is gone (its two dispatch loops are one, Shell.takeEvents), and a client feeds each input as it comes but a held motion, which goes with the next input or the pass's end (Client.feed flushes it); the tty session's own terminal had the same split (tui.zig: a second motion held before waitOnce's merge): split now lets a motion that goes on the wait's run through, by the merge's own test (movesOn); a terminal client's road merged already (its split is the session's only); --client-motion (300 motions a road, 30 bytes each, read 1024 bytes a pass: at most ten passes, each one input): a window client of a terminal's session 305 -> 14 inputs by the feed and 305 -> 14 by SDL's queue (the terminal client watching 765 -> 144 units over the run), the session's own window a drag with a terminal client attached 95 -> 9 frames (that client's draws 128 -> 13); Debug both ends, load 1.5-3
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/KindJob.zig')
0 files changed, 0 insertions, 0 deletions
