Skip to content

Conversation

@f4ni
Copy link
Contributor

@f4ni f4ni commented Aug 13, 2025

This PR adds basic ANSI escape code parsing to the kernel’s k_printf() function, allowing colored console output using VGA text mode attributes. The goal is to enable simple foreground color changes using standard ANSI sequences (e.g., \x1b[31m for red).

Signed-off-by: Farhan Tariq <farhantariq1016@gmail.com>
@BrightCat14 BrightCat14 added this to the opendos-v0.0.5 milestone Aug 13, 2025
@BrightCat14 BrightCat14 added the console e.g colored text label Aug 13, 2025
@BrightCat14
Copy link
Owner

Just tested it - everything looks perfectly!
Thanks a lot for taking the time to work on this and contributing to OpenDOS.
Really appreciate your effort and the clean implementation.

@BrightCat14 BrightCat14 merged commit dd577c6 into BrightCat14:main Aug 13, 2025
1 check passed
Copy link
Owner

@BrightCat14 BrightCat14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I forgot to review, good implementation and clean code.

@f4ni
Copy link
Contributor Author

f4ni commented Aug 13, 2025

Thank you so much for the opportunity.

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

Labels

console e.g colored text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants