Skip to content

Clear buffer doesn't clear scroll marks #20086

@stanio

Description

@stanio

Windows Terminal version

1.24.10921.0

Windows build number

10.0.19045.0

Other Software

  • bash (inside WSL, and with Git for Windows Bash)
  • cmd (Windows Command Prompt)

I'm experiencing this on two other Windows 11 machines, as well.

Steps to reproduce

  • Fill in scroll marks, f.e. by repeated Enter (empty command)

Lots of marks in the scroll bar

  • Press Ctrl+Shift+K (Clear buffer)

Expected Behavior

Scroll marks should be cleared.

Actual Behavior

Scroll marks are not cleared, and they are not updated properly further.

After Ctrl+Shift+K:

After Clear buffer

Repeat empty commands halfway though and issue cls command:

Further 1

Only the marks before the current position get cleared:

Further 2

Next, no new marks appear:

Further 3

until I pass the "stale" marks position and issue cls again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions