Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

class libtmux-kotlin latest

SessionBuilder

Package io.github.libtmux.kotlin.SessionBuilder io.github.libtmux.kotlin

Configure a new session, its initial command, and its windows with Server.newSession .

View as Markdown

Source and package
Module
io.github.libtmux.kotlin
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Dsl.kt
@LibTmuxDsl public class SessionBuilder
class [source]

Discussed in Coroutines and flows

Members5 members#

Other members5 members#

  • directory property The session's working directory, which its first window starts in too.
  • env method Adds a variable to the new session's environment, keeping any already set.
  • name property
  • running method Runs argv in the first window instead of the default shell.
  • window method
Esc

Type to search.