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.

interface libtmux-java latest

PaneSize

How big a new pane should be.

Source and package
Qualified name
io.github.libtmux.PaneSize
Package
io.github.libtmux
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/PaneSize.java
interface io.github.libtmux.PaneSize

Description#

One value with two spellings, not a size and a percentage. tmux takes both through -l, so there is no pair of fields to hold consistent and no "both were given" error to raise — the Python sibling's size/percentage pair and the ValueError guarding it both disappear.

tmux's own -p flag is never emitted. It is broken in 3.4, which reads the -l argument while handling -p and fails with size missing; -l 25% produces the same pane on every supported release.

Members5#

  • cells method A size in terminal cells.
  • Cells class A size in terminal cells.
  • flagValue method What follows -l.
  • percent method A share of what is being split, between 1 and 100.
  • Percent class A share of what is being split.
Esc

Type to search.

Reference previewOpen reference