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

mcp.model.SendKeysArgs

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

API reference · Markdown

struct mcp.model.SendKeysArgs
struct [source]
struct [source]
struct mcp.model.SendKeysArgs

Arguments for sending input to a pane.

Members

pane

pane : String
attribute [source]
attribute [source]
pane

The %-prefixed pane id.

text

text : Option<String>
attribute [source]
attribute [source]
text

Text typed literally into the pane. Key names are not interpreted. Omit to type none.

keys

keys : Option<Vec<String>>
attribute [source]
attribute [source]
keys

tmux key names to press, in order, after any text.

These are interpreted rather than typed, which is the only way to send a key that has no character: C-c to interrupt, Escape, Up, C-d. Sending C-c as text would type those three characters. Omit to press none.

enter

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

Whether to press Enter afterwards.

Esc

Type to search.