vercel / vercel/hyper

When scrolled up in a buffer, pressing CTRL+C doesn't scroll you down to your prompt

Open
#3,260 0 comments 5 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

Issue

If you have a buffer of text beyond 1 page, you can focus your tab / pane and hit Enter or press any key and you will be scrolled down to your prompt automatically. This is the expected behavior.

If you have a buffer of text beyond 1 page, you can focus your tab / pane and hit CTRL + C but your scroll position won't change, leaving your prompt out of view but if you manually scroll down you will see that the CTRL+C input was accepted because you'll see the ^C lines.

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 2.1.0-canary.2 on Windows 10 with a buffer longer than one page, comparing Enter or another key with Ctrl+C. Trace the terminal buffer scrolling and Ctrl+C input handling; done means Ctrl+C is accepted and the view returns to the prompt instead of leaving it out of view.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.