Skip to content

Conversation

@jknlsn
Copy link
Contributor

@jknlsn jknlsn commented Dec 17, 2025

Adds tui.set_terminal_title config option to complement the existing OPENCODE_DISABLE_TERMINAL_TITLE env flag.

Usage:

{
  "tui": {
    "set_terminal_title": false
  }
}

@rekram1-node
Copy link
Collaborator

Does it have to be config? Rather than just adding ctrl+p -> toggle title option that's persisted to the kv?

(in the tui code)

@jknlsn jknlsn force-pushed the config-allow-disabling-terminal-title branch from 54aa043 to 6bc2e32 Compare December 18, 2025 03:50
@jknlsn
Copy link
Contributor Author

jknlsn commented Dec 18, 2025

Does it have to be config? Rather than just adding ctrl+p -> toggle title option that's persisted to the kv?

(in the tui code)

No, it doesn't have to be. I've just implemented as a toggle title option that's persisted to the KV now.
In general are you thinking that TUI options should be implemented this way rather than config, or case by case?

@rekram1-node
Copy link
Collaborator

Primarily case by case I think, it just depends, im not entirely sure if we like the tui in the config given the multiple clients but idk i think it's there to stay

@rekram1-node rekram1-node changed the title feat(tui): add option to disable terminal title feat(tui): add option to toggle displaying terminal title Dec 18, 2025
@rekram1-node rekram1-node merged commit e789fcf into sst:dev Dec 18, 2025
2 of 3 checks passed
shuv1337 added a commit to Latitudes-Dev/shuvcode that referenced this pull request Dec 18, 2025
* docs: add opencode.cafe to ecosystem page (sst#5714)

* chore: format code

* docs: add legal pages with privacy policy and terms of service links

* MCP improvements (sst#5699)

* zen: error handling for stream requests

* feat(tui): add option to disable terminal title (sst#5713)

* docs: add OPENCODE_DISABLE_TERMINAL_TITLE to environment variables (sst#5725)

* chore: format code

* zen: error handling for stream requests

* tauri: server spawn fail dialog w/ copy logs button (sst#5729)

* tauri: say OpenCode Server instead of OpenCode CLI

* fix: handle empty directory query parameter in server middleware (sst#5732)

* release: v1.0.167

* sync: record last synced tag v1.0.167

---------

Co-authored-by: Ryan Vogel <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jay V <[email protected]>
Co-authored-by: Rohan Mukherjee <[email protected]>
Co-authored-by: Frank <[email protected]>
Co-authored-by: Jake Nelson <[email protected]>
Co-authored-by: Jeon Suyeol <[email protected]>
Co-authored-by: Brendan Allan <[email protected]>
Co-authored-by: opencode <[email protected]>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants