Re:Show HN: Textual – An async-powered terminal application ...
by guiambros on Sunday August 08, 2021 @02:26PM
(#28108870)
I'm a big fan of Rich [1], thank you Will for creating it! Very impressive to see how much it evolved over the last year.
Re:Show HN: Textual – An async-powered terminal application ...
by willm on Monday August 09, 2021 @03:14AM
(#28113513)
Cheers!
Re:Show HN: Textual – An async-powered terminal application ...
by noloblo on Sunday August 08, 2021 @06:36PM
(#28110813)
Exactly what I have been looking for
Re:Show HN: Textual – An async-powered terminal application ...
by noloblo on Sunday August 08, 2021 @06:38PM
(#28110835)
Will are there examples of how to use textual with Rich ? Thanks
Re:Show HN: Textual – An async-powered terminal application ...
by willm on Monday August 09, 2021 @03:19AM
(#28113535)
It would be the other way around. Basically anything that Rich can print can be used in Textual. Have a look at the render method in the examples, which returns a Rich object.
Re:Show HN: Textual – An async-powered terminal application ...
by noloblo on Sunday August 08, 2021 @06:37PM
(#28110818)
Is it inspired by aiohttp or which web framework do you plan on using as inspiration for textual
Re:Show HN: Textual – An async-powered terminal application ...
by willm on Monday August 09, 2021 @03:15AM
(#28113520)
Ah, I haven't explained myself well there. It is inspired by JS web frameworks. Vue in particular.
It's still in active development, but it has reached a point where you can play with it. The most recent release adds a tree control which you can use to navigate a directory and pick files.
My hope is that a Textual UI will be at-least as easy to write as a command line interface, and projects will grow a --tui switch to launch an interactive app.
There's already an app using Textual: [wtpython](https://github.com/what-the-python/wtpython)