At the moment, the various console implementations are responsible for translating things like Ctrl+A to Home. This is a hack: the console should provide "raw" key events to the caller, and the caller should be responsible for interpreting them as desired.
This would mean moving the shortcuts into the readline and editor implementations.
Once this is done, we can expose the "raw" events via INKEY, such as C-a for Ctrl-A. We cannot do this at the moment because the behavior between arbitrary combined keys and known shortcuts would be different.
At the moment, the various console implementations are responsible for translating things like
Ctrl+AtoHome. This is a hack: the console should provide "raw" key events to the caller, and the caller should be responsible for interpreting them as desired.This would mean moving the shortcuts into the readline and editor implementations.
Once this is done, we can expose the "raw" events via
INKEY, such asC-aforCtrl-A. We cannot do this at the moment because the behavior between arbitrary combined keys and known shortcuts would be different.