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

config.PaneConfig

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

struct config.PaneConfig
structoverload [source]
structoverload [source]
struct config.PaneConfig

One pane.

The default is a pane that runs nothing and would press Enter after anything it were given, which is what tmuxp's - pane, - blank and an empty - all mean.

Discussed in Rust workspace builder API

Members

shell_commands

shell_commands : Vec<ShellCommand>
attribute [source]
attribute [source]
shell_commands

Commands to run in the pane once it exists.

environment

environment : Vec<(String, String)>
attribute [source]
attribute [source]
environment

Environment variables set for the process this pane starts.

start_directory

start_directory : Option<PathBuf>
attribute [source]
attribute [source]
start_directory

The pane's working directory.

focus

focus : bool
attribute [source]
attribute [source]
focus

Whether this pane should end up selected.

enter

enter : bool
attribute [source]
attribute [source]
enter

Whether to press Enter after each command, until a command sets its own ShellCommand::enter .

tmuxp's enter: false types a command without running it, which is how a file leaves something ready for the user to review. It covers the shell_command_before commands typed into this pane too.

sleep_before

sleep_before : Option<Duration>
attribute [source]
attribute [source]
sleep_before

How long to wait before each command, until a command sets its own.

sleep_after

sleep_after : Option<Duration>
attribute [source]
attribute [source]
sleep_after

How long to wait after each command, until a command sets its own.

suppress_history

suppress_history : Option<bool>
attribute [source]
attribute [source]
suppress_history

Whether this pane's commands stay out of the shell's history.

None inherits the window, then the workspace.

unsupported_keys

unsupported_keys : Vec<String>
attribute [source]
attribute [source]
unsupported_keys

Keys this parser recognized on the pane but does not act on.

Esc

Type to search.