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

libtmux::SplitOptions

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

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
struct libtmux::SplitOptions
struct [source]
struct [source]
struct libtmux::SplitOptions

What a creation command can be told.

Every field maps to a flag tmux 3.2a already has, and every default is what tmux does when the flag is absent — except focus, which defaults to leaving it where the user put it. A library that moves someone's cursor because it created something is a library people stop calling.

Aggregates rather than parameters: a caller writes only the fields it cares about, and a field added later does not renumber anything.

8 declared, 0 inherited

Members

  • full_size attribute Spanning the full width or height of the window rather than of the pane.
  • before attribute Before the target rather than after it.
  • environment attribute Variables the new process starts with, on top of what tmux passes down.
  • focus attribute Make the new pane the active one.
  • horizontal attribute Side by side. tmux stacks by default.
  • percentage attribute Size as a percentage of the space being divided.
  • shell_command attribute Run this instead of the default shell.
  • start_directory attribute Where the new pane starts. Empty inherits from the window.
Esc

Type to search.