Closed christian-oudard closed 2 years ago
How necessary is it to use proper color coding in this PR?
Thanks for your submission. I'll take a look at it this weekend. Regarding colors: The default terminal output does not use any color at all. I guess colors may be ignored.
I added a unittest today. The test has a triple-quoted QR code written directly in Python, which may not be your preferred style, please adjust as necessary.
@christian-oudard, I modified your code a bit. What do you think? See https://github.com/heuer/segno/compare/pr-terminal-compact-97
I'll do some tests in different environments (Win, Linux, Mac) and merge the branch into master.
Your updates look good. So happy it's easy to get this merged.
Any way we could get this merged to master? We're still using the half-block feature from a fork in MobileCoin CLI.
We're still using this in production, are you able to merge this?
Since this pull request was mentioned again, can I once again request that it get merged?
Since this pull request was mentioned again, can I once again request that it get merged?
Sorry for the looong delay.
Although I like the idea and appreciate your contribution, the change has more impacts for Segno than initially thought and I haven't found the time for thinking about it.
The change effects among other things QRCodeSequence, Python typing and the CLI and requires more test cases than one.
I work on this issue / PR and you can expect a new release with your contribution soon.
Released 1.4.0 today with your contribution. Thanks again! :+1:
Added an option
qr.terminal(compact=True)
, which uses unicode half-block characters to print to the terminal in half the space.