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

method libtmux-kotlin

Options.setIfAbsent

Sets one option only if this scope does not already set it.

Source and package
Qualified name
io.github.libtmux.kotlin.Options.setIfAbsent
Package
io.github.libtmux.kotlin
Declared in
Options
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/OptionsOperations.kt
public Kotlin suspending functionsAllows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself.Language documentation fun Options.setIfAbsent( name: String, `value`: String ): Boolean
Parameters

Recorded calls

source calls
No call edges in the Kotlin model.

The Kotlin reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.kotlin.Options.setIfAbsent.

tmux command

task material

The tmux commands behind setIfAbsent.

tmux C API

task material

The C declarations in tmux that implement these commands.

tmux options

task material

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

Esc
Search in

Type to search.

Reference previewOpen reference