Don't underline links until all mods are pressed

Open
#286 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
desktop

Research direction

Start by tracing the OpenLinkAtMouseCursor event binding and the link-hover handling that changes the cursor and underline state. Done means the link remains unchanged until all modifiers required by the binding are pressed, then shows the link and changes the cursor.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem? Please describe.
I've bound Ctrl-Left click to OpenLinkAtMouseCursor, and when I hover a link without any mods pressed, the mouse cursor changes to a hand and the link is underlined.

Describe the solution you'd like
I would like wezterm to not do anything until the mods for the event bound to OpenLinkAtMouseCursor are pressed.
So in my case, show the link and change the mouse cursor only when Ctrl is pressed.

Dominant language
Rust
Stars
29k
Forks
1.7k
Avg merge
2d 23h
Merged PRs (30d)
20

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wezterm/wezterm

All issues in wezterm/wezterm

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.