vercel / vercel/hyper

Prevent pane selection on mouse click

Open
#5,480 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

I would like to disable pane selection when a mouse click is made. This is causing problem when I try to copy a text from one pane and paste it in another pane.
I want to navigate through panes only through key bindings. I am using hyper-pane extension.
Please check if this is possible or consider this as a feature request.

In this gif, you can see the pane selection changes while selecting a text. I could simply select the text in top pane and make a middle click.
hyper-copy

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 examining how Hyper and the hyper-pane extension handle pane selection during mouse text selection and middle-click paste, reproducing the behavior shown in the linked GIF. Done should mean mouse clicks no longer change the selected pane while pane navigation through key bindings continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.