|
tui: styled filesystem read + info output — stage 2
read: the "[path | N lines | size]" header plaque is now dim with the path highlighted in accent (offset/limit plaque "… lines A–B of N …" likewise); the "⚠ Large file …" warning line renders in warning color; the file body renders in text (was dim — readable now) with no syntax highlighting (rejected by design); numbered reads dim the line numbers and render line content in text. read errors (not_found, file_too_large) render in tool_error. info: each "key: value" line highlights the key (incl. colon) in accent, the alignment padding in dim, and the value in text. Fallback narrowed to write/edit/append/move/copy/delete/mkdir/exists/find/ find_up/query/unknown (statuses and find/query intentionally untouched). Diff/list/grep from stage 1 unchanged. 6 new tests (read plaque/offset/warn/numbered/error, info keys+values); 24 filesystem-renderer tests total. Full suite 809 passed, 1 skipped. Co-Authored-By: Claude <noreply@anthropic.com> |
|---|
|
|
| clients/terminal/tui/renderers/filesystem.py |
|---|
| tests/clients/test_filesystem_renderer.py |
|---|