4 ms·
Wow. I wish there was something like this for other languages (like Python, Nim or Go).
by qwerty456127 6y ago
Wow. I wish there was something like this for other languages (like Python, Nim or Go).
- voltagex_ 6y agoLook for "curses" or "ncurses" libraries in other languages.
- pridkett 6y agoFor 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 https://github.com/willmcgugan/rich
- eb0la 6y agoThanks! great adition to the toolbelt :-)
- happypatrik 6y agoYes, Spectre.Console is heavily inspired by Rich, and this is stated in the first paragraph of the repository and documentation :)
- eliaspro 6y agoFor Go check out bubbletea: https://github.com/charmbracelet/bubbletea https://github.com/charmbracelet/bubbletea