-
Couldn't load subscription status.
- Fork 177
Description
It's common in terminals to use a meta key (like alt/option) to modify other key inputs.
The most useful incarnation is holding alt/option when pressing arrow keys in order to easily jump to the previous or next word boundary when editing a long command.
Currently web-console ignores meta keys or modifiers when arrow keys are pressed.
It seems like the behavior defined here: https://github.com/olivierlacan/web-console/blob/891c363b60eee7c27ea4755e43ca2b54a4fbec9f/lib/web_console/templates/console.js.erb#L742-L753
Obviously looking at it quickly it seems like modifier keys could be handled to determine _caretPos. Do you think that's a good idea? Should I pursue it?