Skip to content

opentui: fatal: undefined is not an object (evaluating 'color.buffer') #4648

Closed

Description

@shahshlok

Description

TypeError: undefined is not an object (evaluating 'color.buffer')
    at setCursorColor (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:11086:51)
    at setCursorColor (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:15178:14)
    at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:484:14)
    at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22)
    at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3)
    at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7)
    at runUserEffects (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:943:36)
    at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:849:17)
    at completeUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:900:17)
    at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:850:5)
    at move (src/cli/cmd/tui/context/local.tsx:73:11)
    at onSelect (src/cli/cmd/tui/app.tsx:301:19)
    at <anonymous> (src/cli/cmd/tui/component/dialog-command.tsx:22:16)
    at emit (node:events:95:22)
    at emitWithPriority (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:2350:38)
    at processInput (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:2321:14)
    at <anonymous> (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:14906:13)
    at emit (node:events:95:22)
    at process (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:5940:12)
    at <anonymous> (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:14848:23)
    at emit (node:events:95:22)
    at addChunk (internal:streams/readable:264:47)
    at readableAddChunkPushByteMode (internal:streams/readable:242:18)
    at internalRead (native:38:40)
    at processTicksAndRejections (native:7:39)...

OpenCode version

1.0.105

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 23, 2025
  2. self-assigned this
    on Nov 23, 2025
  3. rekram1-node commented on Nov 23, 2025

    @rekram1-node
    Collaborator

    will fix

  4. rekram1-node commented on Nov 24, 2025

    @rekram1-node
    Collaborator
  5. shahshlok commented on Nov 25, 2025

    @shahshlok
    Author

    fixed

    Thank you so much. It was working and then it suddenly doesnt. I am so sorry. The issue is linked: #4719

    Happy to help

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