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

server.NewSessionOptions.size

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
server
Declared in
NewSessionOptions
Package
libtmux
Source
crates/libtmux/src/server.rs
size ( mut , width : u32 , height : u32 ) → Self
method [source]
method [source]
size

Set the initial size, which a detached session would otherwise default.

tmux 3.2a accepts this and sets default-size as asked, but still draws the new, client-less window at its own classic default, 80x23: a pane's reported width and height on 3.2a do not reflect this call, even though the option was set. Every later release draws at the requested size.

0 declared, 0 inherited

Esc

Type to search.