MCPconceptAPI 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.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

LibTmux.Mcp.KeyStep

public sealed record KeyStep( string Keys, bool Enter = false, bool Literal = true, int? DelayMilliseconds = null );

One keystroke in a batch.

Parameters
  • Keys (string) – The text to type, or a key name.

  • Enter (bool) – Whether Enter follows.

    Default false

  • Literal (bool) – Whether the text is sent as typed rather than read as a key name.

    Default true

  • DelayMilliseconds (int?) – How long to pause afterwards, for a program that needs a moment to redraw before it will accept the next key. Capped at two seconds.

    Default null

Properties4

KeyStep properties
NameTypeDescription
Keys string The text to type, or a key name.
Enter bool Whether Enter follows.
Literal bool Whether the text is sent as typed rather than read as a key name.
DelayMilliseconds int? How long to pause afterwards, for a program that needs a moment to redraw before it will accept the next key. Capped at two seconds.
Esc
Search in

Type to search.

Reference previewOpen reference