vercel / vercel/hyper

Ctrl-Backspace on empty line affects next letter typed

Open
#3,631 0 comments 3 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 am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10 Pro 1809 (using WSL Ubuntu 18.04)
  • Hyper.app version: 3.0.0 (stable)
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/lpulley/06e1d65694e828c1241885e9abd6d3f7
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
  • The issue is reproducible in vanilla Hyper.app: Only hyper-dracula for theming. No functional plugins.

Issue

When Ctrl-Backspaceing a command, if I press Ctrl-Backspace at the beginning of the line (with no text on the prompt, e.g. user@host$ , nothing happens (as expected) but either the next character I type is ignored, or the word I just erased is submitted. For example, if on a blank prompt I type "l s Ctrl-Backspace Ctrl-Backspace l", it's as if I pressed "l s Enter". And if I type "o o o Ctrl-Backspace Ctrl-Backspace o o", only one "o" appears on the prompt, and the first is ignored.

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 issue. Reproduce the Ctrl-Backspace sequence in Hyper on Windows 10 with WSL Ubuntu, then trace the terminal input handling; done when repeated Ctrl-Backspace presses on an empty prompt neither submit erased text nor discard the next character.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.