havTermKit Released
February 23, 2026
I recently built a small C++ console application and wanted to enhance it with colorful output and text effects. While modern Windows versions support ANSI escape codes, I was looking for a clean, cross-platform solution that works consistently across all systems.
To solve this, I created havTermKit, a lightweight terminal utility library for modern C and C++, available on GitHub under the MIT license.
It provides ANSI escape macros for:
- Text styling
- Foreground and background colors
- Cursor control
- Screen clearing
- Hyperlinks
Additionally, it includes a small initialization function to enable VT processing and UTF-8 support on Windows.