Skip to content

Separate keyboard shortcuts from console implementations #115

Description

@jmmv

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringInternal changes that are not user visible enhancements

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions