Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Window.width

Source and package
Qualified name
Libtmux.Window.width
Module
Libtmux
Declared in
Window
Package
libtmux
Source
lib/libtmux.mli
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLua TypeScript RustGo Java C#C++Swift Kotlin Scala F# Clojure
val width : t -> int

Public owner: Libtmux

Parameters

In other ports#

A window's width in cells

Equivalents of A window's width in cells in other languages
Language Equivalent
Python libtmux.Window.width
Ruby LibTmux::WindowSnapshot#width
Lua libtmux.SnapshotWindow.width
Elixir LibTmux.Window.width
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no accessor; the field is read from Window.format, tmux's own row
Rust window.Window.width
Go tmux.Window.Width
Java no equivalent on Window
C# LibTmux.Window.Width
C++ libtmux::Window::width
Swift Window.width
Perl LibTmux::Window::width Schema-validated captured data; reading performs no tmux I/O.

No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference