mdp / qrterminal

QR Codes in your terminal
MIT License
442 stars 53 forks source link

Allow CLI users to create output using half-block ("small") characters #21

Closed jpluscplusm closed 1 year ago

jpluscplusm commented 4 years ago

This PR adds a -s boolean flag to the qrterminal CLI tool, which turns on half-block character output. "S" for "small" :-)

This mode is explicitly disabled for Windows, as I've don't have an easy way to test this and there's already some forced behaviour under that OS (i.e. the BlackChar and WhiteChar vars are special-cased if runtime.GOOS == "windows") which implies there's something generally funky going on there.

Fixes: #19