vercel / vercel/hyper

Selecting text via shift+directional key not working as expected (arrow-, home-, end-key)

Open
#1,642 6 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🖼 Platform: Windows 🤯 Type: Compatibility
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  1. Write any text in shell
  2. using shift+home key does nothing (expected: select text from current position to home position)
  3. using shift+end key does nothing (expected: select text from current position to end of line)
  4. using shift+left arrow marks text visually, but copy doesn't work with a selection made that way.

Selecting text via mouse looks different (selection color differs) and works.

Encountered with powershell.exe

Hyper a35f39f
Electron 1.4.15
win32 x64 10.0.14393

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

Reproduce the issue in Hyper on Windows with powershell.exe, using Shift+Home, Shift+End, and Shift+Left, then inspect the terminal keyboard-selection and copy handling. Done means each keyboard-created selection has the expected range, appearance, and copy behavior, matching mouse selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, powershell, typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.