Skip to content

Customize the terminal title (馃暫 spotuify) - #38

Merged
austin-smith merged 2 commits into
mainfrom
show-brand-in-terminal-title
Aug 4, 2026
Merged

austin-smith merged 2 commits into
mainfrom
show-brand-in-terminal-title

Conversation

@austin-smith

Copy link
Copy Markdown
Owner

Summary

  • show 馃暫 spotuify in supported terminal tab and window titles
  • clear the title through OpenTUI's renderer teardown lifecycle
  • skip terminal control output for non-TTY, TERM=dumb, and CI environments
  • sanitize control characters before constructing the OSC sequence

Impact

Spotuify sessions are easier to identify among terminal tabs without changing CLI or piped output. The title is cleared when the renderer shuts down, including signal-driven teardown.

Validation

  • bun run typecheck
  • bun test (1,035 passed)
  • git diff --check origin/main...HEAD

@austin-smith
austin-smith marked this pull request as ready for review August 4, 2026 06:34
@austin-smith austin-smith changed the title Show Spotuify in the terminal title Customize the terminal title (馃暫 spotuify) Aug 4, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃挕 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 51fcb9df12

鈩癸笍 About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 馃憤.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/index.tsx Outdated

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 06cc937a19

鈩癸笍 About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 馃憤.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@austin-smith
austin-smith merged commit 339b288 into main Aug 4, 2026
5 checks passed
@austin-smith
austin-smith deleted the show-brand-in-terminal-title branch August 4, 2026 06:57
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.

1 participant