Commit aad5fc3
committed
Add BoxRenderer component and refactor muxbox rendering
- Introduced `BoxRenderer` component to encapsulate muxbox rendering logic.
- Updated `draw_muxbox` function to utilize `BoxRenderer`, preserving existing functionality.
- Removed the old `render_muxbox` function, consolidating rendering logic within `BoxRenderer`.
- Added comprehensive tests for `BoxRenderer`, covering creation, rendering with content and choices streams, state preservation, and integration with scrollbars and PTY indicators.
- Updated module imports and test module structure to include new tests for `BoxRenderer`.1 parent 66e0544 commit aad5fc3
File tree
8 files changed
+1036
-702
lines changed- layouts
- src
- components
- tests
8 files changed
+1036
-702
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
0 commit comments