Function split

Source
pub fn split(
    target: &str,
    flag: &str,
    before: bool,
) -> Result<Result<String, String>>
Expand description

Split target and return the new pane id. flag is “-h”/“-v”; before puts the new pane left/above instead of right/below.