vercel / vercel/hyper

Invisible input after interrupted input prompt

Open
#3,356 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

  • [ x] I am on the latest Hyper.app version
  • [ x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10 latest
  • Hyper.app version: latest canary release
  • config gist: here

Issue

Using hyper on windows with git bash inside and TERM set to cygwin.

Setup: Set up an SSH connection myconnection (name doesn't matter) in your ssh config that will use an encrypted key that will prompt for an unlock password.

Reproduction steps: Run ssh myconnection and press ctrl-c when prompted for the key password. Input is now invisible, and the output error message is mangled.

Workaround: run reset after triggered but otherwise will stay invisible.

Notes: Doesn't reproduce on conemu or mintty using TERM=cygwin

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, test, or entry point is named. Start by reproducing the issue with Hyper on Windows, Git Bash, TERM=cygwin, and an SSH key password prompt, then compare behavior before and after Ctrl-C. Done means input is visible and the error output is not mangled, without running reset.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, typescript
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.