Skip to content

Option + backspace does not delete the last word #4341

@markusylisiurunen

Description

@markusylisiurunen

What version of Codex is running?

codex-cli 0.42.0

Which model were you using?

Any model (e.g. gpt-5-codex)

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

  1. Open codex and write a few words into the prompt.
  2. Move the cursor to a word boundary and press option + backspace.

What is the expected behavior?

The last word should be deleted, ending at the cursor position.

What do you see instead?

Only a single character gets deleted, as if option is not pressed at all.

Additional information

I am using Ghostty as my terminal, but the same bug happens in the macOS' own Terminal app as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions