StatusBar content-row regression fix
Summary
The status bar gained a top bevel border during the UI revamp, but its height remained 1. In Textual, border rows consume layout space, so a one-row widget with a top border leaves zero content rows. This caused bottom-bar information text to render incorrectly / disappear.
Changes
- Updated
src/tunacode/ui/styles/widgets.tcss:StatusBarheight changed from1to2.- Keeps the top bevel border while restoring one visible content row.
- Added regression test
tests/unit/ui/test_status_bar_layout.py:- Asserts
status_bar.content_region.height >= 1when app CSS is loaded.
- Asserts
Verification
uv run pytest tests/unit/ui/test_status_bar_layout.py tests/unit/ui/test_supported_themes.py -quv run pytest tests/unit/ui -quv run ruff check .