opencode icon indicating copy to clipboard operation
opencode copied to clipboard

zed terminal + opencode throw input.setText error

Open crper opened this issue 3 days ago • 1 comments

Description

https://github.com/anomalyco/opencode/issues/new?template=bug-report.yml&title=opentui%3A+fatal%3A+undefined+is+not+an+object+%28evaluating+%27input.setText%27%29&description=%60%60%60%0ATypeError%3A+undefined+is+not+an+object+%28evaluating+%27input.setText%27%29%0A++++at+set+%28src%2Fcli%2Fcmd%2Ftui%2Fcomponent%2Fprompt%2Findex.tsx%3A412%3A7%29%0A++++at+ref+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A1055%3A21%29%0A++++at+Prompt+%28src%2Fcli%2Fcmd%2Ftui%2Fcomponent%2Fprompt%2Findex.tsx%3A398%3A9%29%0A++++at+untrack+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A475%3A12%29%0A++++at+runComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A742%3A22%29%0A++++at+updateComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A724%3A3%29%0A++++at+devComponent+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A593%3A3%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A1046%3A29%29%0A++++at+children+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A1068%3A20%29%0A++++at+%3Canonymous%3E+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.10%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A1531%3A21%29...%0A%60%60%60&opencode-version=1.1.11

Plugins

no

OpenCode version

1.1.11

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macos 26

Terminal

zed terminal

crper avatar Jan 10 '26 13:01 crper

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

  • #7634: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7633: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7619: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7581: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7541: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7528: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7465: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7452: opentui: fatal: undefined is not an object (evaluating 'input.setText')
  • #7539: Broken TUI on 1.1.10 on windows terminal with git bash

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

github-actions[bot] avatar Jan 10 '26 13:01 github-actions[bot]