method libtmux-kotlin latest
Shell.choose
Runs one tmux command when a shell command succeeds.
Source and package
- public Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation fun Shell.choose(condition: String, whenTrue: String): Unitpublic Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation fun Shell.choose( condition: String, whenTrue: String, whenFalse: String, ): Unit