You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cross-platform (and disabled when it is not installed / supported)
high-level (and take care to restore original colours after the exit).
Probably some other factors should also be taken into consideration. Note, that we don't need full True Colours, but rather simply enhance user experience in several small places.
These packages look good: yachalk and colorful (the latter looks more powerful, because it supports Windows and Python 2 (if we ever use that)). There is also some comparison on StackOverflow.
Formatting could be based on how git formats its output.
Volunteers are welcome! If you take on this task, let us agree on the package first.
The text was updated successfully, but these errors were encountered:
Colorama seems to be very developed and used. Rich allows powerful text formatting (centering, etc.), seems most used, is cross-platform, but doesn't support Python 2. It is also heavy-weight (1 Mb in my installation, don't know when I installed that) and requires commonmark and pygments. It looks very well. Maybe use that after this program becomes rich itself. Click looks perfect: not only it allows simple colours, but also text scrolling (should be used in logs) launching editors (for commit) and autocomplete.
ynikitenko
changed the title
Add rich text formatting (colours, boldness) to the output
Add rich text formatting (colours, boldness) to the output via click
Jun 16, 2022
UPD: click looks good for that.
Requirements for a formatting tool:
Probably some other factors should also be taken into consideration. Note, that we don't need full True Colours, but rather simply enhance user experience in several small places.
These packages look good: yachalk and colorful (the latter looks more powerful, because it supports Windows and Python 2 (if we ever use that)). There is also some comparison on StackOverflow.
Formatting could be based on how
git
formats its output.Volunteers are welcome! If you take on this task, let us agree on the package first.
The text was updated successfully, but these errors were encountered: