Skip to content

Releases: Sean537/TC

TC Version 1.1.1 (Released date: Aug. 28th, 2025)

28 Aug 14:02

Choose a tag to compare

🎉 TC.hpp v1.1.1 is here!


✨ Updates

🌟 New Features

  • Added isKeyPressed function to detect key states.
  • Added terminal::flush and Printer::flush functions, suitable for direct flushing and chain flushing respectively, which are particularly useful for programs running on many Linux terminals.

💖 Bug Fixes

  • Fixed the issue where convenient color functions were not working on Windows, now only adding ANSI escape codes to character arrays to modify colors.
  • Fixed the issue where the waitKey function failed to detect some keys on Linux.
  • Fixed issues in some demo programs and optimized effects.

🙏 Acknowledgements

  • Thanks to everyone who participated in the development, testing, and use of this project. Your support is the driving force behind the updates to this project. Feedback is welcome if you encounter any issues.

TC Version 1.1.0 (Released date: Aug. 22nd, 2025)

22 Aug 15:11

Choose a tag to compare

🎉 Presenting TC.hpp v1.1.0 ~


✨ Updates

⚡ New Features

  • Changed from a single file to multiple header files for easier maintenance and development. Usage remains the same - developers only need to include tc.hpp when developing.
  • Improved technical documentation for better usability.

🌟 New Functions

  • Added getOSVersionInfo function to help you obtain system information.
  • Added systemConsoleW function, supporting wide character terminal commands, applicable for Windows.

💖 Bug Fixes

  • Fixed the practical implementation issues with the systemCheck function.
  • Fixed the problem where some special keys were not working when using the waitKey function on Windows platforms.
  • Removed redundant code, including lists of operating systems that don't support C++17.

🙏 Acknowledgements

  • Thanks to everyone who participated in the development and testing of this project. Feedback is welcome.

TC Version 1.0.1 (Released date: Aug. 10th, 2025)

10 Aug 14:00

Choose a tag to compare

🎉 TC.hpp v1.0.1 is here!

✨ Update Content

  • Fixed an issue where the text of the progress bar end function bar.finish() could not be customized
  • Fixed an issue where macOS/Linux could not be compiled properly

🙏 Thanks

  • All personnel involved in the development and testing of this project

TC Version 1.0.0 (Released date: Jul. 30th, 2025)

30 Jul 08:20

Choose a tag to compare

🎉 First official release of TC.hpp!

A modern, cross-platform, header-only C++17 terminal control library.


✨ Features

  • 🖥️ Cross-platform: Auto-adapts to Windows, Linux, macOS, and more
  • 🎨 Rich colors: Foreground, background, RGB, and font styles
  • 💡 Modern C++17: Header-only, zero dependencies
  • ⏱️ Delay & typewriter effect: Easy output timing
  • 📊 Progress bar: Built-in, customizable, and beautiful
  • 🧩 Chainable API: Clean, modern, and easy to use
  • 🖋️ Terminal control: Move cursor, get terminal size, clear screen, etc.
  • ⌨️ Key input: waitKey supports special keys (arrows, F1~F12, etc.)
  • 🛡️ System detection: 30+ OS macros, one-line check
  • 🕒 System time: Get year, month, day, hour, minute, second, timestamp

🆕 Highlights

  • Full English & Chinese documentation
  • All macros and APIs are documented and tested
  • Beautiful Markdown tables for all macros and key codes
  • Example-rich README for quick integration

📦 How to Use

  1. Just include one file:
   #include "tc.hpp"
  1. No dependencies, no build scripts, no pain!

🛠️ Build

  • Windows: g++ -std=c++17 test.cpp -o test.exe
  • Linux/macOS: g++ -std=c++17 -pthread test.cpp -o test

📝 License

  • MIT

🙏 Thanks

  • Thanks to all early users and contributors!
  • Feedback and PRs are welcome.