# io.github.libtmux.PaneCommand.PaneCommand.frame

- **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#L99
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-panecommand-panecommand-frame/

```
io.github.libtmux.PaneCommand.PaneCommand.frame(lines: List<String>) -> Framed
```

What lies between the two markers, and the status the end marker carried.

The start marker is matched as a whole row after trimming, the end marker as the end of
one — never by containment, because the echo of the typed line holds both as substrings and
must not be mistaken for either. The asymmetry is the shell's: nothing can precede the start
marker on its row, since it prints before the command runs, while the command's own last line
precedes the end marker whenever it carried no closing newline. That line is output, and is
returned as such.
