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

Swift API

Swift documentation

Server.resize(_:by:toward:)

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

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Mutations.swift
resize(_:by:toward:) ( pane : Pane , by : Int , toward : ResizeDirection ) → ()
methodasync [source]
methodasync [source]
resize(_:by:toward:)

Nudges a pane's boundary, leaving the rest of the layout to absorb it.

The counterpart to setting a size outright: this is how you say "a little more room" without first reading what the pane has and doing the arithmetic. Which pane grows depends on the direction — see ResizeDirection .

Raises

0 declared, 0 inherited

Esc

Type to search.