Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.Pane.Pane.currentPath

Java

View as Markdown

Module
io.github.libtmux.Pane
Declared in
Pane
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Pane.java
Other languages
PythonRubyLua TypeScript RustGo .NET C++ Swift
currentPath ( ) → Path
method [source]
method [source]
currentPath

The working directory tmux reported for the pane.

Converted on request rather than when the pane was captured, because a directory name is bytes to tmux and this JVM cannot always represent one: converting at capture time would lose every pane on the server over a single pane's directory. #currentPathText() is the value tmux actually reported, and never throws.

Raises
  • LibTmuxException – if this JVM's encoding cannot represent the name, which a UTF-8 locale fixes

In other ports A pane process's working directory

0 declared, 0 inherited

Esc

Type to search.