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.

MoreLess about this notice

function libtmux

_skip

Return the index of the first end character outside #{...}.

Source and package
Qualified name
libtmux.formats._skip
Module
libtmux.formats
Package
libtmux
Source
src/libtmux/formats.py

Description

Mirrors tmux's format_skip: #{ opens a level, } closes one, and #,, ##, #{, #} and #: are skipped as pairs.

Parameters

Examples

>>> _skip("#{?a,#{b},c}x", 0, "}")
11
>>> _skip("#{?a,#}", 0, "}") is None
True

Recorded calls

source calls
No call edges in the Python model.

The Python reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls libtmux.formats._skip.

Esc
Search in

Type to search.

Reference previewOpen reference