MCPcopy Index your code
hub / github.com/coder/coder / KeyPress

Method KeyPress

agent/x/agentdesktop/desktop.go:53–53  ·  view source on GitHub ↗

Keyboard operations. KeyPress sends a key-down then key-up for a key combo string (e.g. "Return", "ctrl+c").

(ctx context.Context, keys string)

Source from the content-addressed store, hash-verified

51 // KeyPress sends a key-down then key-up for a key combo string
52 // (e.g. "Return", "ctrl+c").
53 KeyPress(ctx context.Context, keys string) error
54 // KeyDown presses and holds a key.
55 KeyDown(ctx context.Context, key string) error
56 // KeyUp releases a key.

Callers 1

handleActionMethod · 0.65

Implementers 2

fakeDesktopagent/x/agentdesktop/api_test.go
portableDesktopagent/x/agentdesktop/portabledesktop.g

Calls

no outgoing calls

Tested by

no test coverage detected