Skip to content

Commit aad5fc3

Browse files
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

8 files changed

+1036
-702
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ license = "MIT"
9292
name = "boxmux"
9393
readme = "README.md"
9494
repository = "https://github.com/jowharshamshiri/boxmux"
95-
version = "0.220.260260"
95+
version = "0.221.261016"
9696

9797
[package.metadata.deb]
9898
assets = [["target/release/boxmux", "usr/bin/", "755"], ["README.md", "usr/share/doc/boxmux/README", "644"], ["examples/*", "usr/share/doc/boxmux/examples/", "644"]]

layouts/multi_stream_tabs_demo.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
sd
21
app:
32
layouts:
43
- id: "multi_stream_tabs_demo"

0 commit comments

Comments
 (0)