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

Session.path

Return the session's working directory.

Source and package
Qualified name
libtmux::session::Session::path
Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Go Java C# C++ Swift Kotlin Scala OCaml F# Clojure
#[must_use] pub fn path(&self) -> &TmuxText

In other ports#

The directory a new window in this session starts in

Equivalents of The directory a new window in this session starts in in other languages
Language Equivalent
Python no equivalent on Session
Lua libtmux.SnapshotSession.path
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Session
Go tmux.Session.Path
Java no equivalent on Session
C# no equivalent on Session
C++ libtmux::Session::path
Swift no equivalent on Session
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl LibTmux::Session::path Schema-validated captured data; reading performs no tmux I/O.

No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference