mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
The Tachyon profiler's curses-based TUI now uses the centralized theming infrastructure in _colorize.py, enabling users to customize colors via the standard Python theming API. This adds a LiveProfiler theme section with two pre-configured themes: the default dark theme optimized for dark terminal backgrounds, and LiveProfilerLight for white/light backgrounds. Users can switch themes by calling _colorize.set_theme() in their PYTHONSTARTUP or sitecustomize.py. The table header rendering was also improved to draw a continuous background, eliminating visual gaps between columns when using reverse video styling. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| collector.py | ||
| constants.py | ||
| display.py | ||
| trend_tracker.py | ||
| widgets.py | ||