opencode icon indicating copy to clipboard operation
opencode copied to clipboard

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

Open Coffe2Cat opened this issue 1 week ago • 1 comments

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

Coffe2Cat avatar Jan 08 '26 07:01 Coffe2Cat