cls (deprecated)
The cls constant (\x1b[0m) has been replaced by three targeted reset constants. Each one resets only the attribute you actually set, preventing accidental side effects:
- NORMAL_INTENSITY —
\x1b[22m: resets bold/dim only. - DEFAULT_COLOR —
\x1b[39m: resets foreground color only. - DEFAULT_BACKGROUND —
\x1b[49m: resets background color only.
Want to support this project?
If you find ts-better-console useful and want to support its development, consider starring the GitHub repository or buying me a coffee! Your support helps me dedicate more time to improving the library and adding new features.
Want to contribute to this project?
Contributions are welcome! If you're interested in improving the library, fixing bugs, or adding new features, feel free to check out the GitHub repository and submit a pull request. Whether you're a seasoned developer or new to open source, your contributions can make a difference!