cslarsen / wpm

Typeracer-like console app for measuring your WPM
GNU Affero General Public License v3.0
322 stars 48 forks source link

wpm --load source code #64

Open anurag3301 opened 3 years ago

anurag3301 commented 3 years ago

I just installed wpm, It works totally fine. I wanted to do typing practice on source code, the source code was opening fine and I was able to type. But I am facing one issue, the application is not registering a new line '\n'.

gif

scopalaffairs commented 3 years ago

https://github.com/cslarsen/wpm/issues/49 addresses the same issue. There is a PR for that, which, at the time of writing, is open since over a year now. I don't think this repository is under active development currently.

I picked the commit https://github.com/cslarsen/wpm/pull/56 applying it locally. It's not as comfortable as sourcing it directly from the registry, but it works for my purposes, which, supposedly are similar to yours.

Apparently, the line breaks are a little bit messed up after a typing session in the terminal, but the benefit of loading custom quotes outweighs that for me :)

anurag3301 commented 3 years ago

Yeah tried that PR seems to work but has some issue. Whatever the project is dead. Can you recommend any other project like this where I can practice writing source code by importing them?