Skip to content

Can't add newlines in prompt on web/mobile #15462

@viraptor

Description

@viraptor

Description

Currently tapping enter on a mobile keyboard submits the prompt. Unfortunately on mobile you can't shift-enter (on usual keyboards anyway).
Ideally, mobile view would default to enter-as-newline and an explicit prompt submission by tapping the button.

Plugins

OpenCode version

1.2.15

Steps to reproduce

Try adding newline in prompt on mobile.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions