A terminal-based typing test application written in C that provides real-time feedback, custom color themes, error correction handling, and a Words Per Minute (WPM) performance timer.
- Real-time Feedback: Highlights typed characters in white (correct) or red (incorrect) against a clean light gray untyped text background.
- Strict Typing Mode: Prevents moving forward until typing errors are resolved using backspace.
- Window Resizing Support: Dynamically adapts to terminal window size changes using
KEY_RESIZE. - WPM Timer: Automatically starts a stopwatch on the first keystroke and calculates your final typing speed.
ncurses: Core library for text-based user interface rendering, window management, keyboard tracking, and color/attribute handling.<stdio.h>: Standard input/output functions for file loading (fopen,fgets, etc.).<stdlib.h>: General-purpose utilities and memory management.<unistd.h>: Miscellaneous symbolic constants and types (sleep).<stdbool.h>: Provides standard boolean types (bool,true,false).<sys/time.h>: High-precision time measurement functions (gettimeofday) used for calculating typing speed (WPM).