max-niederman / ttyper

Terminal-based typing test.
MIT License
1.1k stars 78 forks source link

backspace deletes whole words while ctrl-backspace deletes characters #66

Open SArpnt opened 1 year ago

SArpnt commented 1 year ago

my terminal (uxterm) is sending ^H on backspace and ^? on ctrl-backspace i use stty erase \^H to make all programs handle backspace correctly this program doesn't seem to be doing the same

i'm having issues trying to find proper information on how terminal character codes work but from what i can tell ^H is backspace and ^? is delete