Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual has come a long way since I figured why not build an application framework on top of Rich. Both were initially hobby projects. I mean look how much fun I was having back then:| Textual
Smoother scrolling in the terminal — a feature decades in the making The great philosopher F. Bueller once said “Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.” Beuller was not taking about terminals, which tend not to move very fast at all.Until they do.From time to time terminals acquire new abilities after a long plateau.We are now seeing a kind of punctuated evolution in terminals which makes things possible that just weren't feasible a...| Textual
I've had the fortune of being able to work fulltime on a FOSS project for the last three plus years. --8<-- "docs/blog/images/textual-demo.svg" Textual has been a constant source of programming challenges.Often frustrating but never boring, the challenges arise because the terminal "specification" says nothing about how to build a modern User Interface.The building blocks are there: after some effort you can move the cursor, write colored text, read keys and mouse movements, but that's about ...| Textual
Anatomy of a Textual User Interface !!! note "My bad 🤦" The date is wrong on this post—it was actually published on the 2nd of September 2024.I don't want to fix it, as that would break the URL. I recently wrote a TUI to chat to an AI agent in the terminal.I'm not the first to do this (shout out to Elia and Paita), but I may be the first to have it reply as if it were the AI from the Aliens movies? Here's a video of it in action: Now let's dissect the code like Bishop dissects a face...| Textual
In this post we'll look at some new functionality available in Textual apps accessed via a browser and how it helps provide a more equal experience across platforms.| Textual
Behind the Curtain of Inline Terminal Applications Textual recently added the ability to run inline terminal apps.You can see this in action if you run the calculator example: The application appears directly under the prompt, rather than occupying the full height of the screen—which is more typical of TUI applications.You can interact with this calculator using keys or the mouse.When you press ++ctrl+q++ the calculator disappears and returns you to the prompt. Here's another app that creat...| Textual
Remote memory profiling with Memray Memray is a memory profiler for Python, built by some very smart devs at Bloomberg.It is a fantastic tool to identify memory leaks in your code or other libraries (down to the C level)! They recently added a Textual interface which looks amazing, and lets you monitor your process right from the terminal:| Textual
File magic with the Python standard library I recently published Toolong, an app for viewing log files.There were some interesting technical challenges in building Toolong that I'd like to cover in this post.| Textual
Announcing textual-plotext It's no surprise that a common question on the Textual Discordserver is how to go about producing plots inthe terminal. A popular solution that has been suggested isPlotext. While Plotext doesn'tdirectly support Textual, it is easy to use withRichand, because of this, we wanted to make it just as easy to use in yourTextual applications.| Textual
Textual 0.38.0 adds a syntax aware TextArea This is the second big feature release this month after last week's command palette.| Textual
Things I learned building a text editor for the terminal TextArea is the latest widget to be added to Textual's growing collection.It provides a multi-line space to edit text, and features optional syntax highlighting for a selection of languages. Adding a TextArea to your Textual app is as simple as adding this to your compose method: pythonyield TextArea() Enabling syntax highlighting for a language is as simple as: pythonyield TextArea(language="python") Working on the TextArea widget for ...| Textual
Textual 0.37.0 adds a command palette Textual version 0.37.0 has landed!The highlight of this release is the new command palette.| Textual
What is Textual Web? If you know us, you will know that we are the team behind Rich and Textual — two popular Python libraries that work magic in the terminal. !!! note Not to mention [Rich-CLI](https://github.com/Textualize/rich-cli), [Trogon](https://github.com/Textualize/trogon), and [Frogmouth](https://github.com/Textualize/frogmouth) Today we are adding one project more to that lineup: textual-web.| Textual
Pull Requests are cake or puppies Broadly speaking, there are two types of contributions you can make to an Open Source project.| Textual
Using Rich Inspect to interrogate Python objects The Rich library has a few functions that are admittedly a little out of scope for a terminal color library. One such function is inspect which is so useful you may want to pip install rich just for this feature.| Textual
Textual 0.30.0 adds desktop-style notifications We have a new release of Textual to talk about, but before that I'd like to cover a little Textual news.| Textual
Textual 0.29.0 refactors dev tools It's been a slow week or two at Textualize, with Textual devs taking well-earned annual leave, but we still managed to get a new version out.| Textual
To TUI or not to TUI Tech moves pretty fast.If you don’t stop and look around once in a while, you could miss it.And yet some technology feels like it has been around forever. Terminals are one of those forever-technologies.| Textual
Textual adds Sparklines, Selection list, Input validation, and tool tips It's been 12 days since the last Textual release, which is longer than our usual release cycle of a week. We've been a little distracted with our "dogfood" projects: Frogmouth and Trogon. Both of which hit 1000 Github stars in 24 hours. We will be maintaining / updating those, but it is business as usual for this Textual release (and it's a big one). We have such sights to show you.| Textual
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation
Textual is a TUI framework for Python, inspired by modern web development.| Textual Documentation