Skip to content

[Feature] Support Shift+Enter for newline in input prompt #51

@Prodesire

Description

@Prodesire

Feature Description

Currently, the input prompt in iac-code does not support using Shift+Enter to insert a newline. Users who want to enter multi-line content have no intuitive keyboard shortcut to do so.

Use Case

When composing multi-line prompts (e.g., providing multi-step instructions, pasting code snippets, or writing structured input), users expect Shift+Enter to insert a newline without submitting the input, while Enter alone submits. This is a common UX pattern in chat interfaces and terminal tools.

Proposed Solution

Support Shift+Enter (or a similar key combination) to insert a newline character in the input prompt, allowing users to compose multi-line input before submitting.

Additional Context

This is a standard interaction pattern in tools like Claude Code CLI, ChatGPT, and other terminal-based chat interfaces. Supporting this would significantly improve the multi-line input experience.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions