Skip to content

Add --no-backspace flag#45

Merged
ptrsauer merged 1 commit intomainfrom
feat/no-backspace
Feb 15, 2026
Merged

Add --no-backspace flag#45
ptrsauer merged 1 commit intomainfrom
feat/no-backspace

Conversation

@ptrsauer
Copy link
Owner

Summary

  • Adds --no-backspace CLI flag that disables Backspace, Ctrl-H, and Ctrl-W during tests
  • Forces forward-only typing for accuracy-focused practice
  • Combinable with --sudden-death for maximum difficulty

Test plan

  • 4 new unit tests (blocks backspace, blocks ctrl-h, blocks ctrl-w, still allows typing)
  • All 87 tests pass (78 unit + 9 integration)

Closes #39

🤖 Generated with Claude Code

When enabled, Backspace, Ctrl-H, and Ctrl-W are all ignored, forcing
the typist to continue forward without correcting mistakes. Useful as
a training mode to build accuracy-first habits.

Closes #39

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ptrsauer ptrsauer merged commit 58a68af into main Feb 15, 2026
6 checks passed
@ptrsauer ptrsauer deleted the feat/no-backspace branch February 15, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --no-backspace flag for strict typing practice

1 participant