Pane.command
What is running in the pane now, which is not what started it.
Source and package
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] std::string command() const noexcept;_view
In other ports#
The command tmux reports running in a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Elixir | Lib |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | no equivalent on Pane |
| Swift | Pane |
| OCaml | Libtmux |
| Perl | Lib Schema-validated captured data; reading performs no tmux I/O. |
No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.