Core Library0.xAPI Reference

Choose documentation 3

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.

attribute libtmux-ts latest

Program.sessionName

The session the program runs in: a detached one of its own, removed with it, or with from that pane's session, which loses only the program's window or split. tmux attach -t it to watch the program.

Source and package
Qualified name
Program.sessionName
Module
program
Declared in
Program
Package
libtmux
Source
packages/libtmux/src/program.ts
sessionName : string

Examples#

await using program = await server.spawn(["sleep", "1"]);
program.sessionName.startsWith("libtmux-program-"); // true
Esc

Type to search.

Reference previewOpen reference