Closed matrixhead closed 3 months ago
GNU testsuite comparison:
Congrats! The gnu test tests/ls/color-clear-to-eol is no longer failing!
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
GNU testsuite comparison:
Congrats! The gnu test tests/ls/color-clear-to-eol is no longer failing!
GNU testsuite comparison:
Congrats! The gnu test tests/ls/color-clear-to-eol is no longer failing!
This pr tries to fix gnu test case
color-clear-to-eol
. This test tries to check when a colored file name that is too long is wrapped, it will append a clear-to-end-of-line ANSI code. GNU's ls does this because in some terminals, when ls tries to print at the last line of the terminal window and needs to scroll the text up in order to print the new lines, the background color would stretch up to the end of the line. for examplewithout the patch, it would look like this with the patch
Behaviors changed