[](https://crates.io/crates/cursive-split-panel)
[](https://docs.rs/cursive-split-panel)
Cursive Split Panel
===================
A split panel view for the [Cursive](https://github.com/gyscos/cursive) TUI library.
Contains two panes with an optionally movable divider between them and an optional border. (Both are enabled by default.)
Can be oriented horizontally (the default) or vertically.
When [movable_divider](https://docs.rs/cursive-split-panel/latest/cursive_split_panel/struct.SplitPanel.html#method.movable_divider) is true will support the following events:
* Shift+Left/Shift+Up: move the divider towards the front
* Shift+Right/Shift+Down: move the divider towards the back
* Mouse dragging of the divider
Check out the [examples](https://codeberg.org/tliron/cursive-split-panel/src/branch/main/examples).
License
-------
Like much of the Rust ecosystem, licensed under your choice of either of
* [Apache License, Version 2.0](https://codeberg.org/tliron/cursive-tree/src/branch/main/LICENSE-APACHE)
* [MIT license](https://codeberg.org/tliron/cursive-tree/src/branch/main/LICENSE-MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
All code and documentation was written by humans. We do not accept "AI"-generated contributions.