Commit Graph
4 Commits
Author SHA1 Message Date
dualfroz e3da47c875 terminal: Highlight links on ctrl/cmd-hover in mouse mode
When the running app had mouse reporting on, moving the pointer over a
link with ctrl/cmd held never underlined it, while pressing the modifier
with the pointer already on the link did. `mouse_move` only scheduled
the hyperlink lookup outside of mouse mode, but the modifier change and
grid refresh paths don't check it, and ctrl/cmd-click already opens
links in mouse mode through `open_links_in_mouse_mode`.

Also look up the hovered link in mouse mode when that setting is on,
after the motion has been reported to the app.

Closes #64102
2026-10-03 01:58:16 +02:00
upstream 8acb6f4d72 Upstream zed-industries/zed state of the touched files before 1194a05b08 2026-10-03 01:58:11 +02:00
dualfroz b5b736994e terminal: Send modifier sequences for the delete key
Delete with a modifier produced no input at all. Since the alt handling
was limited to single characters, alt-delete stopped sending the bogus
`ESC delete` and fell through to nothing, because delete was missing from
the modified special keys table next to insert, pageup and pagedown.

Modified delete now goes out as `CSI 3 ; <modifier> ~`, the same
encoding xterm and alacritty use.

Closes #64721
2026-10-02 16:36:22 +02:00
upstream 08029c4aa7 Upstream zed-industries/zed state of the touched files before 41f88af76a 2026-10-02 16:36:22 +02:00