Skip to content

Add Escape command to list of special key commands#693

Open
joelzwarrington wants to merge 1 commit intocharmbracelet:mainfrom
joelzwarrington:patch-1
Open

Add Escape command to list of special key commands#693
joelzwarrington wants to merge 1 commit intocharmbracelet:mainfrom
joelzwarrington:patch-1

Conversation

@joelzwarrington
Copy link

  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

I didn't notice any mention of the Escape key!

@joelzwarrington joelzwarrington requested a review from a team as a code owner December 28, 2025 00:39
@joelzwarrington joelzwarrington requested review from aymanbagabas and meowgorithm and removed request for a team December 28, 2025 00:39
Escape
```

todo: Add a .gif example of pressing escape
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unclear what the approach should be to add the .gif, I'd be happy to add an example which demonstrates this command but am unfamiliar with adding the content to stuff.charm.sh

- [`Type "<characters>"`](#type): emulate typing
- [`Left`](#arrow-keys) [`Right`](#arrow-keys) [`Up`](#arrow-keys) [`Down`](#arrow-keys): arrow keys
- [`Backspace`](#backspace) [`Enter`](#enter) [`Tab`](#tab) [`Space`](#space): special keys
- [`Escape`](#escape) [`Backspace`](#backspace) [`Enter`](#enter) [`Tab`](#tab) [`Space`](#space): special keys
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be sorted in any way? I just added Escape to the front of the sepcial keys list without much thought.

- [`Type "<characters>"`](#type): emulate typing
- [`Left`](#arrow-keys) [`Right`](#arrow-keys) [`Up`](#arrow-keys) [`Down`](#arrow-keys): arrow keys
- [`Backspace`](#backspace) [`Enter`](#enter) [`Tab`](#tab) [`Space`](#space): special keys
- [`Escape`](#escape) [`Backspace`](#backspace) [`Enter`](#enter) [`Tab`](#tab) [`Space`](#space): special keys
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also noticed that Delete is missing. Should that be added to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant