Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-kotlin

Options

Read and update options for the server, session, window, or pane that owns this handle.

Source and package
Qualified name
io.github.libtmux.kotlin.Options
Package
io.github.libtmux.kotlin
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Options.kt
public class Options

Description

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in OptionsOperations.kt. get/set are hand-written in both overloads: a Kotlin member makes every same-named extension unreachable regardless of its own parameter types, so the OptionKey<T> overload cannot be added beside a generated get(String)/set(String, String) without also hand-writing those.

Members13 members

  • all method Every option set at this scope, in tmux's order.
  • append method Adds to the end of a string option, rather than replacing it.
  • asJava property The Java options this wraps: the same object, for a Java API that takes one.
  • effective method Every option tmux lists at this scope, including inherited built-in values.
  • equals method
  • get method The value in effect at this scope, inherited from a parent scope when this one does not set it.
  • hashCode method
  • server property
  • set method Sets one option at this scope.
  • setExpanded method Sets one option to what a tmux format comes to, rather than to the format itself.
  • setIfAbsent method Sets one option only if this scope does not already set it.
  • toString method
  • unset method Removes one option at this scope, so it falls back to whatever it inherits.

tmux options

task material

Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.

Guides

task material

Pages that discuss Options.

Esc
Search in

Type to search.

Reference previewOpen reference