yhat/rodeo

Keyboard shortcuts not working as expected in the Python Shell Buffer

Open

#329 opened on Jun 9, 2016

View on GitHub
 (13 comments) (0 reactions) (0 assignees)JavaScript (3,934 stars) (473 forks)batch import
enhancementhelp wanted

Description

Typical keyboard behavior unsupported within the Python Shell Buffer (bottom left pane in Rodeo UI).

Steps

  • launch rodeo
  • place cursor in the lower right pane AKA python shell buffer
  • type some words
  • execute one of the below keyboard shortcuts to see irregular cursor and selection behavior

expected

  • command+delete on OS X => should delete all text to the BOL
  • control+u on OS X => should delete all text to the BOL
  • control+k on OS X => should delete all text to the EOL
  • command+shift+left => should select all text from cursor to the BOL
  • command+shift+right => should select all text from the cursor to the EOL
  • option+delete => should delete all text to the BOL

e.g. if you hit option+delete i expect this to delete all text that i have typed behind my cursor "impro" should be deleted...

image

actual

  • not only do some shortcuts not work, but it's worse than that. some shortcuts actually do something that is NOT expected
  • e.g. command+shift+right and command+shift+left simply move your cursor to the EOL and BOL respectively without selecting any text at all. this is very unusual behavior.

Contributor guide