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 c23ea2a211
commit 340e80257a
2 changed files with 3 additions and 0 deletions

View File

@@ -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