yachalk
yachalk copied to clipboard
🖍️ Terminal string styling done right
In Python on Mac OS 12 (zsh), while doing `print(chalk.bg_blue("some long line of text"))` if "some long line of text" wraps to the next line in the terminal (say because...
It doesn't work in Windows 10 Command Prompt without first adding the following: ``` import os os.system('') ``` Is that the expected behavior? If so, can something like the above...
The documentation lists inverse as one of the modifiers. When I tried it I received an `AttributeError: 'ChalkBuilder' object has no attribute 'inverse'`. Sure enough, peeking into ChalkBuilder after turning...
[Reading the code](https://github.com/bluenote10/yachalk/blob/master/yachalk/supports_color.py#L51) it looks like the colour detection algorithm will short circuit and return `AllOff` if there is no TTY. GitHub Actions does not attach a TTY and so...