You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to change the color of the screen text and after that list the files in the current directory but it happens to reset the color back to white which is default. I suppose it occurs because of the using the ls command that highlights some files with colors.
Steps to reproduce the behaviour
Type "color 0a"
Type "ls"
Expected behavior
The color of the text had not changed
What operating system(s) this bug have occurred on?
Windows 10 HSL
What version(s) of DOSBox-X have this bug?
V2024.10.01, Visual Studio SDL1 64-bit
Used configuration
No response
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
I have searched and didn't find any similar bug report.
Code of Conduct & Contributing Guidelines
I agree to follow the code of conduct and the contributing guidelines.
The text was updated successfully, but these errors were encountered:
I don't know about this. ANSI codes don't provide a way to read back state to restore it later.
On my Linux system, ls --color will reset any attributes I set on the terminal prior to it.
It makes logical sense that "ls" would have the same limitation: Resets the attribute to normal white on exit.
Unless standard DOS somehow allows "ls" to restore the attribute exactly as it was, it would be better for your program/script to re-apply the ANSI attributes it needs after running "ls".
Describe the bug
I want to change the color of the screen text and after that list the files in the current directory but it happens to reset the color back to white which is default. I suppose it occurs because of the using the ls command that highlights some files with colors.
Steps to reproduce the behaviour
Expected behavior
The color of the text had not changed
What operating system(s) this bug have occurred on?
Windows 10 HSL
What version(s) of DOSBox-X have this bug?
V2024.10.01, Visual Studio SDL1 64-bit
Used configuration
No response
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: