Skip to content

Numpad Enter breaks prompts #627

@shyim

Description

@shyim

Describe the bug

When I press numpad enter on this

Image

I get

 ✘ TypeError: Cannot read properties of undefined (reading 'startsWith')

and the terminal is broken, I have to reopen a new one. regular Enter works

Affected version

0.0.361 Commit: fdd8f6541

Steps to reproduce the behavior

  1. Do something for confirmation
  2. Press enter using numpad enter

Expected behavior

It works like regular enter

Additional context

  • OS: macOS
  • Terminal: Ghostty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions