Skip to content

opentui: fatal: undefined is not an object (evaluating 'input.setText') #7541

Description

@eislambey

Description

TypeError: undefined is not an object (evaluating 'input.setText')
    at set (src/cli/cmd/tui/component/prompt/index.tsx:412:7)
    at ref (src/cli/cmd/tui/routes/session/index.tsx:1055:21)
    at Prompt (src/cli/cmd/tui/component/prompt/index.tsx:398:9)
    at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12)
    at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22)
    at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3)
    at devComponent (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:593:3)
    at <anonymous> (src/cli/cmd/tui/routes/session/index.tsx:1046:29)
    at children (src/cli/cmd/tui/routes/session/index.tsx:1068:20)
    at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1531:21)...

Plugins

~

OpenCode version

1.1.10

Steps to reproduce

  1. prompt something, wait for response
  2. type something but dont send
  3. press ctrl x+n and start new chat
  4. send the prompt you typed in step 2

Screenshot and/or share link

Image Image Image

Operating System

Fedora 43

Terminal

Gnome terminal

Activity

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