vercel / vercel/hyper

Request: Don't clear text selection when foregrounding Hyper windows

Open
#8,091 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

I often highlight part of my terminal screen, temporarily switch to a different terminal window or even another application, then switch back. But every time I do this, Hyper forcibly removes the text selection highlight. Other emulators like Terminal.app don't do this.

Describe the solution you'd like

Please provide a boolean option that controls whether to reset text selection when a click event is the action that foregrounds a formerly background Hyper window.

Ideally default the option to not reset the text selection, but I care more about having the option, and documenting the option in the default config, than what we decide the default behavior to be.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the click-handling path that foregrounds a background Hyper window and the default configuration exposed to users. Trace where text selection is reset, then define the boolean option and verify that its documented default controls this behavior without affecting other selection handling.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.