Skip to content

Codex TUI prompt Feature: Shift+Enter to support newline in codex interactive prompt #8673

Description

@NikkiAung

What feature would you like to see?

Support Shift+Enter to insert a newline in the interactive TUI prompt (multi‑line input without submitting).

Proposal :

Keybinding Shift+Enter should insert a newline. At the same time, when there is no text/prompt in the codex interactive TUI, it should disable Shift+Enter to avoid accidental blank lines; spacing tokenization percentage cost.

Problem :

As of now, when users wanna enter newline with Shift+Enter, it's just prompting to AI Codex, not going to newline. This could be annoyance to users with large prompt willing to go to next new line.

Additional information

Demo of Shift+Enter not entering new line. :)

trim.2B14A6B1-7766-4F2C-98C8-83FD18DB92B3.MOV

Activity

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

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions