Skip to content

Escape sequence handling seems broken #1522

Description

@serolod

Description of the problem or steps to reproduce

Start micro, enter raw mode. Input Shift+PgDown, input Ctrl+PgDown.

I would expect the output:

EventKey: "\x1b[6;2~"
EventKey: "\x1b[6;5~"

but I get

EventKey: "\x1b[6;2~"
EventKey: "\x1b["
EventKey: "6"
EventKey: ";"
EventKey: "5"
EventKey: "~"

A different but probably related thing is:
Start micro, enter raw mode. Input ö, input ö, input ö, input a, input a.
This results in

EventKey: ""
EventKey: "ö"
EventKey: "ö"
EventKey: "öa"
EventKey: "a"

Specifications

Commit hash: 7c71995
OS: Void Linux
Terminal: alacritty v0.4.1

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