vercel / vercel/hyper

Prompt doesn't appear when opening new horizontal panes (and I think I know why)

Open
#3,258 4 comments 6 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

Every time I open new horizontal pane, I have an empty prompt. I just started using hyper.js so I don't know if this happens with other actions.

I can get the prompt to come back by pressing either CTRL+C or Enter multiple times.

If I split 1 horizontal pane It takes 20 times of pressing Enter or CTRL+C before the prompt is visible and this number seems to go up as I add more horizontal panes. It seems to always go by about 2 additional key presses required for each pane I open.

I believe the prompt is always there because if I type ls -la I see the bottom end of the output and the prompt returns. If I had to guess it's not placed at the new pane's visual location, it's hidden behind the other panes at the top. If I open a vertical pane with no horizontal panes the prompt shows immediately at the top, which really leads me to think the prompt always loads at the top of the window?

Edit: I also want to add after opening and closing a bunch of panes the prompt doesn't always become visible, even if you expect it to be at the top. I'm not sure where it ends up, but it's not there (although the same strategy mentioned above to get it back works).

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

No source file or test is named in the report. Reproduce the issue on Windows with Hyper 2.1.0-canary.2, then trace the horizontal-pane creation and rendering entry points; done means prompts appear in each new horizontal pane, including after repeatedly opening and closing panes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.