Skip to content

No support for unix-line-discard shortcut (ctrl + u) #481

Closed

Description

@nengqi

unix-line-discard (ctrl + u, on macOS) erases everything from the cursor back to the beginning of the line — one of the most common bash/zsh line-editing shortcuts. It works in iTerm, Ghostty, Terminal.app, etc.

In Orca's terminal (v1.1.13), the keypress is intercepted/dropped and readline never sees it, so there's no way to clear a half-typed line short of holding backspace.

Same root cause as #443 / #453 (ctrl + r). Would love a systematic audit of the key-event filter rather than whitelist-patching one shortcut at a time — ctrl + e is broken too, and there are likely more (alt + b/f/d, ctrl + w/k, etc.).

Activity

  1. AmethystLiang commented on Apr 11, 2026

    @AmethystLiang
    Contributor

    Able to reproduce this one. Will do a systematic audit.

  2. nwparker commented on Apr 12, 2026

    @nwparker
    Contributor

    @nengqi I put in what I hope is a generalized fix. I tested a few things out and it seems fine. But please let me know if you still run into any issues

  3. added theissue type on Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions