vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

emacs not receiving Ctrl-Space on windows #2016

Open mammothbane opened 7 years ago

mammothbane commented 7 years ago

Issue

With #1509's children merged, I would expect to see Ctrl-space captured by hyper, but emacs doesn't set the mark when I type Ctrl-space. I've verified that emacs has the binding.

I set another binding that I can use, but this is the default binding for set-mark-command, and it doesn't work for me.

ppot commented 7 years ago

What does Ctrl-space does? Can you make a gif?

mammothbane commented 7 years ago

Currently, it doesn't do anything (visually, at least). No bell either.

Here it is not working on Hyper: asciicast

And here's PuTTY working fine: asciicast

incomingstick commented 6 years ago

I can confirm I am having the same issue. The Emacs CTRL+SPC command works on PuTTY, Cygwin, and even the default CMD terminal. I suspect it is a keybindings issue with the terminal itself, as a number of my CTRL and ALT commands do not seem to work properly either, whereas they work elsewhere.

4nthonylin commented 6 years ago

Same issue, would like to bind ctrl+space to a command but it seems like the terminal it catching the key sequence. Using showkey -a yields nothing when typing ctrl+space

chughtapan commented 6 years ago

Any updates on this ?

srl295 commented 6 years ago

Confirmed on Mac also with Hyper 2.0.0

c0ze commented 6 years ago

Confirmed on Windows Linux Subsystem and waiting for a fix. (Not only CTRL+Space, some other bindings seem to be cought too. I also couldn't CTRL+\ or CTRL+_ (undo))

tstackhouse commented 6 years ago

Also seeing this in Hyper 2.1.0-canary.2 Glad I'm not the only one.

offero commented 5 years ago

Same here on hyper 2.1.0 with tmux and vim not seeing my ctrl+space.

sukima commented 5 years ago

Oddly, CTRL+Space works for me with VIM, TMUX, and/or SSH (any combination) but CTRL+6 (CTRL^) does nothing.

Why is Hyper gobbling up CTRL sequences?! Sigh, have to go back to terminator, again. :cry:

vdegenne commented 5 years ago

I have the same issue (hyper 3.0.0)

I don't think the issue is from ssh but from bash or something linux shell related. Here is why I think that.

# open Hyper
C:\> emacs -nw test.txt 
# type things and try to select (it works)
# exit emacs
C:\> bash
/ $ emacs test.txt
# type things and try to select (it doesn't work)
# exit emacs
/ $ exit
C:\> ssh user@server # notice I am connecting from windows shell
[remote]:/ $ emacs test.txt
# type things and try to select (it doesn't work)

From that I think we can make a call, the problem occurs when connecting directly to bash because as you can see the keystroke works fine in Emacs run locally on windows.

Any updates ?

computersarecool commented 5 years ago

Yeah Ctrl-Space works in Emacs on the Windows Ubuntu application. But does not work in Hyper. Why is this? Is it a challenge to just pass the key input sequences?

Is this issue being worked on?

incomingstick commented 5 years ago

@computersarecool When you run Ubuntu on Windows via WSL it is still running in the same "terminal" application as cmd. Anything that works with that the Windows integrated terminal, should work when running the Ubuntu "app" (its just Bash being run without the extra cmd shell layer).

The reason this differs from Hyper, is because Hyper is an Electron application, and thus never touches the Windows integrated terminal. Its two completely separate systems. (That's technically not true, but then you are literally debating Windows application internals).

Microsoft just did a great talk on this with their announcement of a new terminal. Its a interesting deep dive talk and I recommend everyone check it out: https://www.youtube.com/watch?v=KMudkRcwjCw

computersarecool commented 5 years ago

Interesting.

I am just wondering if there are any updates or if this issue is being worked on by the Hyper team?

computersarecool commented 5 years ago

@Stanzilla I would either remove the platform: windows label or add the platform:mac label as well (I bet this issue exists on Linux too).

@ppot you handled a lot of the keybinding issues - do you know how we could work around this?

Similarly- how do we tell if an issue is actually being worked on - is there a way to track the hyper development?

Stanzilla commented 5 years ago

@computersarecool removed the win label. I don't think anyone is currently working on Hyper, so feel free to take a stab at it!

computersarecool commented 5 years ago

@Stanzilla do you think this project abandoned?

computersarecool commented 4 years ago

@Stanzilla hopefully not totally abandoned...

mguthaus commented 4 years ago

Seems to be abandoned. I'm also having this problem.

mraxilus commented 2 years ago

Adding +1 to the list of users who've encountered the issue.