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

ESC or ^M to go to command-mode and TAB for code completion do not work on iOS #2378

Open
gilbertfrancois opened this issue Apr 6, 2017 · 6 comments

Comments

@gilbertfrancois
Copy link

I'm using jupyter notebook on a AWS server or on a local machine. When I connect to the notebook with an iOS device (iPad Pro), most of the features work well. However, the keybindings do not work well, unfortunately.

  • esc or ^m to switch from edit mode to command mode does not work. The keystroke ^m simulates pressing enter (newline).
  • tab does not code completion, but jumps the cursor to the next cell.

The problem seems browser, keyboard and Jupyter Notebook version independent. It was tested on an iPad Pro 12.9" (iOS 10.3) with Safari and Chrome, iPad Pro smart keyboard (without esc key) and regular keyboard, connected by bluetooth, on Jupyter Notebook version 4.2.1 and the latest version 5.0.0.

@gilbertfrancois gilbertfrancois changed the title ESC or ^M to go to command-mode does not work on iOS ESC or ^M to go to command-mode and TAB for code completion do not work on iOS Apr 18, 2017
@essandess
Copy link

This is also an issue on a 2017 iPad Pro.

I was hoping that the workaround Ctrl+[ == Escape would work as it does for other applications, but it does not.

The iPad would make a great remote Jupyter client if these key maps could be addressed.

@essandess
Copy link

The app Jump VNC client addresses the lack of an escape key by providing key bindings to the missing top row. Escape is Command-Shift-1.

I've tested mobile Safari and Chrome, and unfortunately neither of these browser apps provide the necessary key bindings to get Escape back.

There are two options; I request we pursue both:

  1. Request Escape key functionality within Safari on a Smart Keyboard from Apple at https://www.apple.com/feedback/ipad.html.
  2. Jupyter server provided key bindings for limited keyboards that will work whether or not Apple responds. Personally, I would prefer something like Escape == Ctrl-`

@foice
Copy link

foice commented Apr 12, 2019

OMG, this is so annoying. ESC on iOS makes the app to go minimize (tried with a bluetooth keybaord), can Jupyter be made work with other keystrokes than ESC to go to command mode?

@essandess
Copy link

Recommendation: Juno iOS app with full in-app purchase. There are issues using Jupyter on mobile Safari that go beyond the missing ESC key, and Juno is a decent, smooth client.

@foice
Copy link

foice commented Apr 13, 2019 via email

@spark-gom
Copy link

spark-gom commented Jul 3, 2019

It can be changed to a command mode using Safari function.
'show tab overview' : cmd + shift +
It made me escape edit mode.

just double tap \ key.

  • cmd + shift + \ and \

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

4 participants