Skip to content

Commit a008dfb

Browse files
feat: Document punctuation key sequences
Stainless-Generated-From: 33f6b77e4ee242cca4c48f8813036f180bafa75e
1 parent 88e5ccf commit a008dfb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/resources/browsers/computer.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,9 @@ export namespace ComputerBatchParams {
439439
* List of key symbols to press. Each item should be a key symbol supported by
440440
* xdotool (see X11 keysym definitions). Examples include "Return", "Shift",
441441
* "Ctrl", "Alt", "F5". Items in this list could also be combinations, e.g.
442-
* "Ctrl+t" or "Ctrl+Shift+Tab".
442+
* "Ctrl+t" or "Ctrl+Shift+Tab". Use X11 names for punctuation in combinations,
443+
* such as "Ctrl+minus" or "Ctrl+plus". A literal hyphen is also accepted as an
444+
* alias, so "Ctrl+-" is normalized to "Ctrl+minus".
443445
*/
444446
keys: Array<string>;
445447

@@ -654,7 +656,9 @@ export interface ComputerPressKeyParams {
654656
* List of key symbols to press. Each item should be a key symbol supported by
655657
* xdotool (see X11 keysym definitions). Examples include "Return", "Shift",
656658
* "Ctrl", "Alt", "F5". Items in this list could also be combinations, e.g.
657-
* "Ctrl+t" or "Ctrl+Shift+Tab".
659+
* "Ctrl+t" or "Ctrl+Shift+Tab". Use X11 names for punctuation in combinations,
660+
* such as "Ctrl+minus" or "Ctrl+plus". A literal hyphen is also accepted as an
661+
* alias, so "Ctrl+-" is normalized to "Ctrl+minus".
658662
*/
659663
keys: Array<string>;
660664

0 commit comments

Comments
 (0)