Skip to content

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

Closed

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

Activity

  1. github-actions commented on Feb 28, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

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

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