Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
amurchick opened this issue Feb 11, 2020 · 2 comments
Open
2 tasks done

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

amurchick opened this issue Feb 11, 2020 · 2 comments

Comments

@amurchick
Copy link

amurchick commented Feb 11, 2020

  • 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!

@ssthomas
Copy link

ssthomas commented Mar 2, 2020

I am also having this issue in Windows.

@amurchick
Copy link
Author

amurchick commented Mar 30, 2020

I am start using https://github.com/xtermjs/xterm.js by my work and xterm.js have same issue.
So it may be not hyper issue.

I am create xtermjs/xterm.js#2797 in xterm.js repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants