Skip to content

[Bug]: Regression Terminal occasionally displays raw mouse event sequences when opened #8574

Description

@Sy-D

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

Havent really found a deterministric way to reproduce it

Expected behavior

Terminal is working and not printing these events

Actual behavior

The PR #5319 didn't seem to have fixed it only what was in following issue #4776 or a regression happened. The terminal is showing raw ANSI escape sequences or mouse / keyboard events and wont let any other interaction with the shell happen.
The general format is:
ESC [ < Cb ; Cx ; Cy M

or escaped:

\x1b[<Cb;Cx;CyM

Impact

Blocks work completely

Version or commit

0.0.36-nightly.20260827.1207

Environment

macOS Tahoe 26.3

Logs or stack traces

Screenshots, recordings, or supporting files

0828.mov

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions