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

Batch.length

How many bytes the collected operations come to as the one command tmux parses.

Source and package
Qualified name
io.github.libtmux.batch.Batch.length
Package
io.github.libtmux.batch
Declared in
Batch
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/batch/Batch.java
@Operation(Kind.CAPTURED) public int length()

Description#

tmux packs a command into MAX_IMSGSIZE, 16384 bytes, and refuses a longer one with command too long; measured, it takes about 16300 of them. A batch taken from a handle travels as this one string plus the guard that fences it, so it costs this and a little more. One dispatched as separate arguments costs less, since nothing there is quoted.

Esc

Type to search.

Reference previewOpen reference