As such, I'm not sure what a framework like this adds, other than abstracting away the ESC sequences?
---
11–20 of 35 posts
As such, I'm not sure what a framework like this adds, other than abstracting away the ESC sequences?
---
Wow. I wish there was something like this for other languages (like Python, Nim or Go).
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
Though TUIs have its place, this totally destroys the ability for text processing used a lot on Unix platforms where a more simple output would suffice. For some applications like this it might be better to go for a non-terminal GUI anyway.
Think Debian's apt which is intended for human use, while apt-get is for scripts and sticks to a predictable console output.
Though TUIs have its place, this totally destroys the ability for text processing used a lot on Unix platforms where a more simple output would suffice. For some applications like this it might be better to go for a non-terminal GUI anyway.
Terminal (human) UI and scripting (machine) UI should be separate if the latter is a concern at all. Think Debian's apt which is intended for human use, while apt-get is for scripts and sticks to a predictable console output.
Though TUIs have its place, this totally destroys the ability for text processing used a lot on Unix platforms where a more simple output would suffice. For some applications like this it might be better to go for a non-terminal GUI anyway.
Though TUIs have its place, this totally destroys the ability for text processing used a lot on Unix platforms where a more simple output would suffice. For some applications like this it might be better to go for a non-terminal GUI anyway.
It seems the desire is to use the power of natural language to interact with the machine with commands but to not be limited by textual output.
Emacs can render pictures and PDFs but it can't render HTML well or videos at all.
Another UI that comes real close to what I think a lot of power users want are modern chat clients like Slack, Telegram, Discord and Mastadon because commands can be entered and the output is a stream of richer items than text.
I'm seeing more and more dancing around what I think is a desire to have a computing system much closer to the UI of emacs/lisp machine. It seems the desire is to use the power of natural language to interact with the machine with commands but to not be limited by textual output. Emacs can render pictures and PDFs but it can't render HTML well or videos at all. Another UI that comes real close to what I think a lot o…