gerardog/gsudo

Issue: The scrollback buffer persists through clearing with `cls`

Open

#253 opened on Apr 15, 2023

 (2 comments) (0 reactions) (0 assignees)C# (120 forks)batch import
help wanted

Repository metrics

Stars
 (4,218 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Issue Description

Using Windows Terminal and PowerShell Core, the cls command only clears the immediate console window. The scrollback buffer survives intact.

Steps to Reproduce

  1. Run the terminal.
  2. Fill the screen so that lines start to go off.
  3. Issue the cls command.

Context:

  • Windows version: Win10 22H2 (9045.2846).
  • gsudo version: 2.0.6.

Contributor guide