tessl install tessl/pypi-asciimatics@1.15.0A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations
Agent Success
Agent success rate when using this tile
81%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.33x
Baseline
Agent success rate without this tile
61%
Build a terminal display system that shows multiple updating elements without screen flicker.
Implement a program that displays the following on a terminal screen:
The display must update smoothly without flicker. All three elements should update together on each iteration with a 0.1 second delay between updates.
@generates
Create a display.py file with a run_display(screen) function that performs the animated display. The function should accept a screen object and handle all rendering operations.
def run_display(screen):
"""
Display an animated counter with status and progress bar.
Parameters:
- screen: A screen object with methods for terminal control
The function should:
- Clear the screen buffer at the start
- Loop from 0 to 100 (inclusive)
- Update counter, status message, and progress bar
- Use proper buffering to prevent flicker
- Include 0.1 second delay between updates
"""Provides terminal screen control and rendering capabilities.