Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

PaneId.CompareTo

Namespace LibTmux.PaneId.CompareTo LibTmux

Orders this identifier against another numerically.

View as Markdown

Source and package
Module
LibTmux
Declared in
PaneId
Package
LibTmux
Source
src/LibTmux/PaneId.cs
CompareTo ( other : PaneId ) → int
method [source]

Description#

tmux hands out pane identifiers in increasing order, so the ordering is oldest first. Without it OrderBy and Array.Sort throw rather than sorting.

Parameters
  • other ( PaneId ) – The identifier to compare against.

Returns

A negative value, zero, or a positive value.

Esc

Type to search.