Add availability to disable terminal title using OPENCODE_DISABLE_TERMINAL_TITLE env (#5661)

This commit is contained in:
Jeon Suyeol
2025-12-17 14:57:03 +09:00
committed by GitHub
parent 411c07fd2f
commit e1513efcbf
2 changed files with 3 additions and 0 deletions
@@ -174,6 +174,8 @@ function App() {
// Update terminal window title based on current route and session
createEffect(() => {
if (Flag.OPENCODE_DISABLE_TERMINAL_TITLE) return
if (route.data.type === "home") {
renderer.setTerminalTitle("OpenCode")
return