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

WindowId.CompareTo

Namespace LibTmux.WindowId.CompareTo LibTmux

Orders this identifier against another numerically.

View as Markdown

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

Description#

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

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

Returns

A negative value, zero, or a positive value.

Esc

Type to search.