mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-13 12:33:15 +02:00
New pybitblock/tui/ package providing a modern terminal UI: Structure: tui/app.py - Main Textual App with CSS layout, auto-refresh tui/screens/ - Screen classes (main_menu.py with keybindings) tui/widgets/ - StatusBar widget with reactive block/price data tui/workers/ - Async data fetchers (block height, price, fees, mempool) Features: - Persistent status bar with mode, block height, BTC price - Side panel showing live fee estimates (fast/medium/slow) - Keyboard navigation (A=PyBLOCK, B=Bitcoin, L=Lightning, etc.) - Auto-refresh every 30 seconds via async workers - Dark theme with Bitcoin-inspired color scheme - CSS-based responsive layout Launch: python3 PyBlock.py --tui Fallback: python3 PyBlock.py (original CLI mode) Added textual>=0.89 to requirements.txt. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 line
26 B
Python
1 line
26 B
Python
"""TUI widget modules."""
|