Skip to content

WIP: Update Clear-Host on UNIX to also clear the scrollback buffer#4

Open
TommiTallgren wants to merge 3 commits intomasterfrom
pull-8555
Open

WIP: Update Clear-Host on UNIX to also clear the scrollback buffer#4
TommiTallgren wants to merge 3 commits intomasterfrom
pull-8555

Conversation

@TommiTallgren
Copy link
Copy Markdown

PR Summary

Clear-Host currently uses the clear command to clear the screen. However, that merely clears what is on the visible screen and not the entire buffer. This is a difference in behavior with Windows which also clears the scrollback buffer. Fix is to output the ESC[3J CSI sequence to clear the scrollback buffer.

cc @mklement0

Fix PowerShell#8554

PR Checklist

@softagram-bot
Copy link
Copy Markdown

Softagram Impact Report for pull/4 (head commit: 4f3582b)

⭐ Visual Overview

Changed elements and changed dependencies.
Changed dependencies - click for full size
Graph legend
(Open in Softagram Desktop for full details)

⭐ Change Impact

How the changed files are used by the rest of the project
Impacted files - click for full size
Graph legend
(Open in Softagram Desktop for full details)

📄 Full report

Give feedback of this report to [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'clear' should leverage tput reset on *nix

3 participants