Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-java latest

PaneCommand.frame

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

Source and package
Qualified name
io.github.libtmux.PaneCommand.frame
Package
io.github.libtmux
Declared in
PaneCommand
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/PaneCommand.java
public Framed frame(List<String> lines)

Description#

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.

Parameters
Esc

Type to search.

Reference previewOpen reference