Workspace ManagerconceptAPI 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.

TmuxShellCommand

struct TmuxShellCommand : struct TmuxShellCommand

A command to put in a pane, and whether to run it.

Description#

tmuxp writes most commands as a bare string, and that is what a string literal here means — type it and press enter. The long form, {cmd:, enter:}, exists to leave a command sitting in the pane unrun, which is why enter is modelled rather than dropped.

Members9#

Common operations1#

  • enter: let enter: Bool property Whether to press enter after typing it. False leaves the line sitting at the prompt, ready but not run.

Other members8#

Esc

Type to search.

Reference previewOpen reference