Skip to main content

Crate cursive_split_panel

Crate cursive_split_panel 

Source
Expand description

crates.io docs.rs

§Cursive Split Panel

A split panel view for the 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 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.

§License

Like much of the Rust ecosystem, licensed under your choice of either of

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.

Structs§

SplitPanel
Split panel.