Skip to content

Delete key variant sequences not handled #11

Description

@AntiMS

The terminal emulator st by default produces the sequence \x1b[P (archived link since I'm not sure there's a web-based way to display a specific version of that file) (1b5b50) for a press of the delete key. (It does switch to \x1b[3~ when in "numpad application mode" (something I only learned of the existence of moments ago), but only in numpad application mode.)

Digging in a little bit to why st behaves like this, I found this commit where this behavior for the delete key was first introduced in case it's helpful.

Perusing the input.go file, it doesn't appear \x1b[P is currently mapped to anything else, so it doesn't seem likely making an addition could cause any problems.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions