opencode icon indicating copy to clipboard operation
opencode copied to clipboard

TUI stops responding to user input after first prompt

Open Ajetski opened this issue 1 day ago • 6 comments

Description

The TUI is not responding for me. I can reproduce the error consistently on Pop OS 22.04 LTS desktop. The cursor continues to blink but when typing there are no characters accepted. The frozen input persists indefinitely (as far as I can tell). I tried reinstalling the binary with recent updates (to no avail).

As a test I tried spamming letters after submitting the prompt. I can see that the app continues to respond for several seconds/ms after the prompt is sent. The TUI freezes shortly after (seemingly when the response is ready from the LLM).

The bug appears to occur on several/all terminal emulators on this machine.

I cannot reproduce this externally on a different Ubuntu server.

Plugins

No response

OpenCode version

1.1.16

Steps to reproduce

Steps to reproduce (stdin from terminal): opencode what is 2+2? the cursor now blinks but typing does nothing

Screenshot and/or share link

normal case: Image

when spamming letters after clicking Enter: Image

focusing the opencode app and typing more does not change the text in the text box

Operating System

Pop OS LTS 22.04

Terminal

Terminal, Kitty

Ajetski avatar Jan 13 '26 14:01 Ajetski