Skip to content

bug(cli): terminalSequence accepts malformed OSC codes #5304

Description

@tt-a1i

The terminalSequence parser accepts OSC input where the numeric code is followed by arbitrary text instead of ;/BEL/ST. For example, ESC]9oopsBEL is parsed as an allowed OSC 9 notification. The parser comment says the code should be followed by ; or a terminator, so this should be rejected instead of passed through to the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category/cliCommand line interface and interactionpriority/P3Low - Minor, cosmetic, nice-to-fix issuesstatus/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions