Commit Graph
6 Commits
Author SHA1 Message Date
ZacharyZhang-NY 28d761572d T59: the newest line typed is the one of the highest number, not the lowest on the screen, so a prompt drawn at the top over older lines takes its clicks; a press goes no lower than that line's last row or the cursor's 2026-10-19 16:22:50 -04:00
ZacharyZhang-NY 84364ce03e T59: OSC 133 B stamps the line typed after a prompt with a link of its own, numbered by the commands ended, so a shell whose prompt prints nothing, as fish's empty prompt, takes clicks from its first typed cell, and fish's right prompt drawn again at each key keeps the line 2026-10-19 16:09:11 -04:00
ZacharyZhang-NY 9fa68b24a7 T59: a prompt with no cell before the cursor, as fish's empty left prompt beside a marked right one, starts the input at its first row, where the press assumed a cell and panicked 2026-10-19 15:48:53 -04:00
ZacharyZhang-NY e74ea745fe T59: a click goes to a shell that takes clicks only past its prompt's last cell before the cursor, never on a prompt cell, so a click on fish's $ leaves its cursor where it stood 2026-10-19 15:40:51 -04:00
ZacharyZhang-NY 0c55d41026 T59: a shell whose prompt says click_events, as fish from 4.1 does, hears the click as an SGR press and moves its own cursor, since fish moves by code point and its redraws drop the wrap flags a count follows; a press let go in another cell, or released while the program tracks the mouse, moves nothing 2026-10-19 15:34:17 -04:00
ZacharyZhang-NY 82cfe91810 T59: a plain click on the line the shell reads moves its cursor there, which a user asked for after 0.1.6, as Ghostty's cursor-click-to-move: while OSC 133 says the shell reads a line, a click that stays in its cell, past the prompt the cursor's line shows, sends Left or Right arrows through the key encoder, one per character, soft wraps joined; never on the alternate screen, under mouse tracking or with a selection 2026-10-19 15:18:17 -04:00