vercel / vercel/hyper

MOSH's escape keyboard shortcut (ctrl+^) not worked

Open
#4,251 2 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

  • 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: macOS 10.15.3

  • Hyper.app version: 3.0.2 (stable)

  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

In MOSH (https://mosh.mit.edu/) for exit I am need to input ctrl+^ (actually for this I am pressed keys ctrl, shift, 6).

From MOSH manual:

ESCAPE SEQUENCES
       The  default  escape  character used by Mosh is ASCII RS (decimal 30).  
       This is typically typed as Ctrl-^ or Ctrl-Shift-6, on US English keyboards.  

In Chrome this combination catched by event keypress like this (key code === 30):
image

In Hyper this combination not worked.
In iTerm and native terminal app - this combination worked.

How to reproduce:

  1. In Hyper connect to linux which have command showkey (I am use debian) and run
showkey -a

and then press ctrl, shift, 6 - nothing was happends.
2. In other terminal do same - and you will see:
image

Thank you for you work!

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 issue in Hyper with showkey -a on the reported macOS and Debian setup, pressing Ctrl-Shift-6, and compare the result with iTerm or the native terminal. Done means Hyper emits the ASCII RS character used by MOSH's escape sequence.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.