yhat/rodeo

Keyboard shortcuts not working as expected in the Python Shell Buffer

Open

#329 创建于 2016年6月9日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)JavaScript (3,934 star) (473 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南