Skip to content

Use dark mode theme when launching from NeoVim's terminal with light mode #11151

@tamlok

Description

@tamlok

Description

  1. Windows Terminal is configured to use light mode theme.
  2. Running opencode directly in Windows Terminal results in the usage of light mode theme in opencode.
  3. Neovim forces to use light background.
  4. Runs opencode in Neovim terminal, resultings in the usgae of dark mode theme in opencode.

Could we add an option to force using of the light mode of theme? Just like Neovim setting background to light or dark.

Plugins

No response

OpenCode version

1.1.25

Steps to reproduce

  1. Windows Terminal with light theme
  2. Neovim with light mode.
  3. Run opencode within the terminal of Neovim.

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions