pub fn split( target: &str, flag: &str, before: bool, ) -> Result<Result<String, String>>
Split target and return the new pane id. flag is “-h”/“-v”; before puts the new pane left/above instead of right/below.
target
flag
before