vercel / vercel/hyper

Unexpected input, duplicated characters.

Open
#4,445 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:
  • Hyper.app version: 3.0.2
  • Link of a Gist with the contents of your .hyper.js:
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app: yes

Issue

When trying to type ~/ on a portuguese keyboard laybout
~ : is done with by just pressing ~^ key
/ : is done with SHIFT + 7

Expected was to output :

~/

the output is :

//

also everytime I try to use "~" it just duplicates the next character, for example if I do "~" and then "t" the output is "tt".

I can avoid this issue only if I use space between inputs, example: "~", "SPACE", then "/" I the output is "~/" of course "~" shows up first.

I'm using git for windows but the same happens if I use default values aka Vanilla.

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

Start by reproducing the duplicated-character behavior in vanilla Hyper with a Portuguese keyboard layout, using the DevTools entry point mentioned in the report. Compare input for ~/ and ~ followed by t with the expected output, and consider the issue done when those sequences render correctly without requiring a space.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.