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.

MoreLess about this notice

method libtmux-rs

NewWindowOptions.start_directory

Set the window's working directory.

Source and package
Qualified name
libtmux::session::NewWindowOptions::start_directory
Module
session
Declared in
NewWindowOptions
Package
libtmux
Source
crates/libtmux/src/session.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

Recorded calls

source calls
No call edges in the Rust model.

The Rust reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls session.NewWindowOptions.start_directory.

Esc
Search in

Type to search.

Reference previewOpen reference