pane_send_keys
Asynchronously send a sequence of named keys to a pane.
Send named key presses to a pane.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pane_id
|
str
|
Target pane identifier. |
required |
keys
|
Sequence[str]
|
Key names in the order they should be sent. |
required |
Returns:
| Type | Description |
|---|---|
OkResult
|
The server's successful command result. |
Example
client = AsyncHerdrClient()
await client.pane_send_keys("build", ["Enter"])
Source code in src/herdr_client/async_client/client.py
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 | |