News for hackers. Stuff that matters.
Re:Spectre.Console lets you make beautiful console apps with... by qwerty456127 on Tuesday November 24, 2020 @06:47AM (#25197583)
Wow. I wish there was something like this for other languages (like Python, Nim or Go).
Re:Spectre.Console lets you make beautiful console apps with... by pridkett on Tuesday November 24, 2020 @06:53AM (#25197615)
For Python check out the “rich” module[1]. It even uses a table of Star Wars movies as an example. It gives you access to colors and other niceties, like outputting syntax highlighted elements and colorful exceptions with little effort.

[1]: https://github.com/willmcgugan/rich

Re:Spectre.Console lets you make beautiful console apps with... by happypatrik on Tuesday November 24, 2020 @09:08AM (#25198523)
Yes, Spectre.Console is heavily inspired by Rich, and this is stated in the first paragraph of the repository and documentation :)
Re:Spectre.Console lets you make beautiful console apps with... by eb0la on Tuesday November 24, 2020 @07:55AM (#25198004)
Thanks! great adition to the toolbelt :-)
Re:Spectre.Console lets you make beautiful console apps with... by eliaspro on Tuesday November 24, 2020 @07:24AM (#25197796)
For Go check out bubbletea: https://github.com/charmbracelet/bubbletea
Re:Spectre.Console lets you make beautiful console apps with... by voltagex_ on Tuesday November 24, 2020 @06:50AM (#25197602)
Look for "curses" or "ncurses" libraries in other languages.