Skip to content

Restore shift-enter for newline #5305

Closed

Description

@aehlke

What feature would you like to see?

You changed behavior: now shift-return submits instead of making a newline. I can only use ctrl-return for newlines now. Please restore the old behavior, and allow either modifier. I keep accidentally submitting!

Additional information

No response

Activity

  1. added
    enhancement
    on Oct 17, 2025
  2. tibo-openai commented on Oct 18, 2025

    @tibo-openai
    Collaborator

    Which terminal emulator and OS are you using?

  3. aehlke commented on Oct 18, 2025

    @aehlke
    Author

    iTerm2 latest and macOS Tahoe

    I noticed after posting this that in one session, neither ctrl nor shift newline was working - it would submit. And in another session, shift newline was still working. Mysterious.

    I did close and reopen iTerm2 before this which resumed my sessions automatically. That may have caused the issue - I just tested and a new tab / codex session is working again. Seems that iTerm2's session restoration messes with codex.

  4. hi-fox commented on Oct 19, 2025

    @hi-fox

    I don't know why all the CLI tools don't use Return for new line and CTRL Return for submit, it's so much better

  5. tibo-openai commented on Oct 19, 2025

    @tibo-openai
    Collaborator

    Thanks @aehlke !

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions