# LibTmux.Pane.current_command

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/66b9b1c3f3f3186428abdfda2c76f5cf87446710/lib/libtmux/entities.ex
- **Page:** https://libtmux.org/en/elixir/latest/reference/libtmux-pane-current_command/

```elixir
LibTmux.Pane.current_command: LibTmux.Schema.observed(String.t()) = :unloaded
```

## In other ports

### The command tmux reports running in a pane

- Python: [`libtmux.Pane.pane_current_command`](/en/py/latest/reference/libtmux-pane-pane_current_command/) (attribute)
- Ruby: [`LibTmux::PaneSnapshot#current_command`](/en/ruby/latest/reference/libtmux-panesnapshot-current_command/) (method)
- Lua: [`libtmux.SnapshotPane.current_command`](/en/lua/latest/reference/libtmux-snapshotpane-current_command/) (attribute)
- Rust: [`pane.Pane.current_command`](/en/rs/latest/reference/pane-pane-current_command/) (method)
- Go: [`tmux.Pane.CurrentCommand`](/en/go/latest/reference/tmux-pane-currentcommand/) (method)
- Java: [`io.github.libtmux.Pane.Pane.currentCommand`](/en/java/latest/reference/io-github-libtmux-pane-pane-currentcommand/) (method)
- C++: [`libtmux::Pane::command`](/en/cxx/latest/reference/libtmux-pane-command-6i9x/) (method)
- Swift: [`Pane.currentCommand`](/en/swift/latest/reference/pane-currentcommand/) (property)
