electroly / sqlnotebook

Casual data exploration in SQL
https://sqlnotebook.com
MIT License
590 stars 35 forks source link

Console: prevent left/right arrow key from escaping input area #5

Closed electroly closed 8 years ago

electroly commented 8 years ago

We should prevent the user from arrowing left from their command into the prompt and before. They should have to use the mouse to click in the backlog in order to move the cursor there. Also we should prevent the user from arrowing right into the newline after the prompt.