Skip to content

CLI input issues on WSL Ubuntu: no multiline input and copy/paste not working #7297

@Coffe2Cat

Description

@Coffe2Cat

Question

Environment

  • OS: Windows 10 / 11
  • WSL: Ubuntu (WSL2)
  • Terminal:
    • Windows Terminal (default profile)
  • OpenCode version: 1.1.4

I installed OpenCode inside WSL Ubuntu, and I’m experiencing some usability issues in the CLI input:

Multiline input is not possible

Pressing Enter, Shift + Enter, or Ctrl + Enter immediately submits the prompt

There is no way to insert a newline while typing

Copy & paste does not work inside the CLI

Right-click paste does nothing

Standard terminal paste shortcuts do not work reliably inside the OpenCode prompt

This makes it very difficult to provide longer prompts or code snippets

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions