Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clitype

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.

Features

  • 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.

Libraries Used

  • 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).

About

A Monkeytype like program based On CLI or Command Line Interface. Using C...

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages