cslarsen / wpm

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

Option to launch monochrome #41

Closed itsamoreh closed 5 years ago

itsamoreh commented 5 years ago

I would love the option to launch wpm in "monochrome" with just the foreground and background colors so it blends in better with my other terminal windows.

cslarsen commented 5 years ago

You can either change the colors in ~/.wpmrc or you can run it with TERM=vt100 wpm or something like that.

itsamoreh commented 5 years ago

I was hoping for a --monochrome flag like reddit terminal viewer.

But I can use ~/.wpmrc.

Thanks!

cslarsen commented 5 years ago

Ah, right. Maybe it isn't that hard to support. I'm short on time for even simple stuff like this, so will leave the "help wanted" label here in case anyone wants to add support for it.

mandyedi commented 5 years ago

Hi! I would like to contribute to wpm and I thought this issue would be great for starting. I see that in config.py there is two color mode (xterm256colors, xtermcolors). Is it enough to use only the xtermcolors for monochrome? For incorrect characters I would swap the black background color with the white foreground color.

cslarsen commented 5 years ago

Merged, thanks for the effort!