Closed madushans closed 1 year ago
I'll be releasing a fix for the scrolling soon. I had another fix for the BG color issue, but unfortunately it doesn't seem to work. The issue is that when I read Console.BackgroundColor it doesn't reflect the actual color that is in Windows terminal. This might be because Windows terminal supports full RGB. The ConsoleString class within PowerArgs can also handle full RGB (when the terminal supports it), but I can't match the terminal background if I can't read it.
Fixed in 4.0.1 (except the colors)
Version 4.0.0 seems to have some issues with background color, scrolling and terminal window size.
running a CLI on version 4.0.0 looks as below, where once the available space on the window is exhausted, instead of scrolling down, it seems to cut off. Running the command again seems to overwrite the last line or so. Also the background color has some issues, where it doesnt blend with the transparency. (default Windows Terminal config)
running the CLI repeatedly without scrolling.
Same code against PowerArgs v 3.6.0 looks as below. (it scrolls as expected, regardless of window size. I resized the window after running)
Windows 11 22H2 build 22621.1105 Windows Terminal Version: 1.15.3466.0
settings.json
from Windows Terminal (don't remember changing anything here, but I may have long time ago) (Renamed to CSV coz github doesn't like attaching json for some reason.) settings.csvSame behavior is observed in cmd as well.
4.0.0
3.6.0