Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

SplitOptions.start_directory

Set the new pane's working directory.

Source and package
Qualified name
libtmux::window::SplitOptions::start_directory
Module
window
Declared in
SplitOptions
Package
libtmux
Source
crates/libtmux/src/window.rs
pub fn start_directory( mut self, directory: impl Into<TmuxArg> ) -> Self

Description#

The directory is sent literally. TmuxArg::format() opts into expansion, which is how #{pane_current_path} is asked for.

Parameters
Esc

Type to search.

Reference previewOpen reference