clippy icon indicating copy to clipboard operation
clippy copied to clipboard

Restores console state to original colors

Open Bats6789 opened this issue 11 months ago • 0 comments

The original code assumes the background is black and the foreground is white. My terminal (Windows Terminal) uses transparency, so the colors are not restored properly. The ANSI codes define a restore sequence to return the colors to their original state. This has been tested in CMD on Windows Terminal, but I have not had the chance to test it on Linux.

Bats6789 avatar Nov 04 '24 18:11 Bats6789