Skip to content

ESC during command causes OSC replies to be accepted as input #12379

Description

@Hello71

Steps to reproduce:

  1. foot -c /dev/null sh -c 'env HOME=$(mktemp -d) XDG_CONFIG_HOME= XDG_DATA_DIRS= fish'
  2. Type sleep 1
  3. Press enter
  4. Within one second, press ESC key odd number of times (1, 3, 5)
  5. Wait one second

Expected result: Same as pressing ESC after sleep finishes: no action by default, move to normal mode if vi key bindings configured.

Actual result: ]11;rgb:2424/2424/2424 input as command. Pressing enter returns fish: Unknown command: ']11', fish: Unknown command: rgb:2424/2424/2424.

Additional information: fish 4.3.3, foot 1.25.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions