Jeff Quast
Jeff Quast
I might suggest this problem (and solution) is deeper than you may think, I wrote a detailed article about the latest release of the python wcwidth library and ucs-detect CLI...
The test characters I use are in source, where only 1 character is selected, https://github.com/jquast/ucs-detect/blob/master/ucs_detect/__init__.py#L24-L35 But you can get the full list of characters, by version, using this CLI utility:...
Windows 10 supports sequences without any translation layer, https://devblogs.microsoft.com/commandline/24-bit-color-in-the-windows-console/ so I'm not entirely sold on colorama's future as a necessary translator :( I think because of what colorama is, the...
I think you could get "isatty" to succeed if you used a pseudo-terminal. Perhaps i'll take a knock at this on the weekend
I did knock it out, the `as_subproces` decorator proposed in the `fix-tests` branch ensures that stdout is always a tty, even when it isn't. these test cases now pass in...
closed by pull request #48
resolved by branch 'blessed-integration'
I designed a draft proposal in issues #67, please review. It would likely make some use of the given code. I am going to provide some criticism of this PR,...
@ssbarnea this is rolling into next release of blessed https://github.com/jquast/blessed/blob/d7c3d52f8804d92cfb35a8286cd88fd46e633fc9/blessed/terminal.py#L670
blessed has type hints since version 1.18.0 and is API compatible with blessings if that is of interest to you