# pane.Pane.current_path

- **Module:** pane.Pane
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/pane.rs#L186
- **Page:** https://libtmux.org/en/rs/latest/reference/pane-pane-current_path/

```
pane.Pane.current_path(self) -> Option<&TmuxText>
```

Return the pane's working directory.

`None` when tmux reported none, which a pane straight from
[`Self::split`] can do until its process has started; [`Self::refresh`]
asks again. Reading `pane_current_path` through [`Self::get`] says
which kind of missing it is.
