
Software Engineering Radio - the podcast for professional software developers SE Radio 669: Will McGugan on Text-Based User Interfaces
38 snips
May 20, 2025 Will McGugan, CEO of Textualize and creator of the Rich and Textual libraries, dives into the world of text-based user interfaces. He discusses how these interfaces enhance developer workflows and reduce distractions. The conversation includes advanced features like progress bars and the use of CSS for layouts in terminal applications. McGugan also addresses character encoding challenges and the importance of caching in improving performance. He encourages innovation in combining TUIs with AI applications, offering developers practical strategies and insights.
AI Snips
Chapters
Transcript
Episode notes
Avoid Clearing To Prevent Flicker
- Avoid clearing the terminal screen to prevent flickering in TUIs. Instead, overwrite only changed content and batch updates to create smooth UI transitions.
Immutability Boosts Caching Performance
- Using immutable objects enables efficient caching in Textual. Immutable data ensures consistent outputs, maximizing cache hits and boosting UI rendering speed.
Implement Effective LRU Caching
- Apply LRU caching with an appropriate max size to balance memory and speed. Use Python’s LRU cache or custom algorithms for repeated computations with identical inputs.

