Shell.choose
Runs one tmux command when a shell command succeeds.
Source and package
- Qualified name
-
io.github .libtmux .kotlin .Shell. choose - Package
- io.github.libtmux.kotlin
- Declared in
Shell- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/ShellOperations.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. fun Shell.choose( condition: String, whenTrue : String ): UnitpublicKotlin suspending functionsAllows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. fun Shell.choose( condition: String, whenTrue : String, whenFalse : String, ): Unit
Recorded calls
source callsThe 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.Shell.choose.
tmux command
task materialThe tmux commands behind choose.
tmux C API
task materialThe C declarations in tmux that implement these commands.