# io.github.libtmux.PaneCommand.PaneCommand.typed

- **Module:** io.github.libtmux.PaneCommand.PaneCommand
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/PaneCommand.java#L77
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-panecommand-panecommand-typed/

```
io.github.libtmux.PaneCommand.PaneCommand.typed(tmux: List<String>, command: String) -> String
```

The line to type.

Typed at the pane's own interactive shell rather than a fresh one, so the command sees the
environment a person set up there — a virtualenv, a loaded module, a directory someone changed
into. The leading space asks bash ({@code HISTCONTROL=ignorespace}) and zsh ({@code
HIST_IGNORE_SPACE}) to keep the plumbing out of the history; a shell set to neither records it.
Builtins are called as {@code \\trap}, {@code \\eval} and {@code \\exit} so an alias of the same
name cannot take them over.

The line begins with that space; strip it to have the shell record the line like any other.

## Parameters

- `tmux` (List<String>): the client the pane's shell calls: an absolute binary and its {@code -S} socket
- `command` (String)
