Skip to content

Pasting when not in WSL seems to fail, dumping each thing one by one as input #4235

Closed as duplicate

Description

@alanmun

Description

Take the below for example:

import { GodRays } from '@react-three/postprocessing'

return (
  <GodRays
    sun={sunRef}
    blendFunction={BlendFunction.Screen} // The blend function of this effect.
    samples={60} // The number of samples per pixel.
    density={0.96} // The density of the light rays.
    decay={0.9} // An illumination decay factor.
    weight={0.4} // A light ray weight factor.
    exposure={0.6} // A constant attenuation coefficient.
    clampMax={1} // An upper bound for the saturation of the overall effect.
    width={Resizer.AUTO_SIZE} // Render width.
    height={Resizer.AUTO_SIZE} // Render height.
    kernelSize={KernelSize.SMALL} // The blur kernel size. Has no effect if blur is disabled.
    blur={true} // Whether the god rays should be blurred to reduce artifacts.
  />
)

It will submit the above almost line by line, I think maybe in 2-3 link chunks for some reason, and then leave the last 2-3 lines in my chat bar.

This seems to only happen in command prompt or MSYS2 terminals. in WSL2 Ubuntu bash it doesn't seem to happen, but i only tried like once so far in ubuntu bash

OpenCode version

1.0.61

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

I'm using MSYS + Bash primarily

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 12, 2025
  2. github-actions commented on Nov 12, 2025

    @github-actions
    Contributor

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

    The described behavior (pasting multi-line snippets queues individual messages line by line instead of being treated as a single paste) matches exactly with the existing issue.

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Nov 12, 2025

    @rekram1-node
    Contributor

    We are on it

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 workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions