Core LibraryalphaAPI 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-cxx latest

Session.path

The directory a new window starts in, not the shell's current directory.

Source and package
Qualified name
libtmux::Session::path
Namespace
libtmux
Declared in
Session
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript RustGo Java C# Swift Kotlin Scala OCaml F# Clojure
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] std::string_view path() const noexcept;

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
Rust session.Session.path
Go tmux.Session.Path
Java no equivalent on Session
C# no equivalent on Session
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