Closed ahwayakchih closed 6 years ago
Two problems:
@nayuki thanks for comment. You're right that it's actually Unicode. We can rename the method, e.g., "createUnicode" or call it something else. I was going for reminding about "ASCII drawing", but it looks that i was wrong. Any ideas how to name it better?
It returns a string, it's up to the caller to style it with control sequences in terminal, or CSS in web browser.
I was going for reminding about "ASCII drawing",
I agree.
Thanks a lot!
Thanks :).
Hi,
This re-applies ASCII output feature from #6. It does not change existing code, it just adds new method.
I use ASCII output in command line tools/scripts :).
Changes:
createASCII
method that outputs QR code rendered using ASCII blocks.mocha
to run new tests for basic GIF and ASCII output.UPDATE: below is a screenshot of how it looks in terminal :).
Regards