Hotkey Sequence Recorder API Reference

HotkeySequenceRecorderCommitKeys

Type Alias: HotkeySequenceRecorderCommitKeys

ts
type HotkeySequenceRecorderCommitKeys = "enter" | "none";
type HotkeySequenceRecorderCommitKeys = "enter" | "none";

Defined in: hotkey-sequence-recorder.ts:12

How the user can commit a recorded sequence from the keyboard.

  • 'enter': plain Enter (no modifiers) commits when at least one step exists.
  • 'none': only HotkeySequenceRecorder.commit finishes recording (or idle timeout if set).