vercel / vercel/hyper

"Set Window title" ANSI escape sequence doesn't work

Open
#5,109 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

Repro: Paste the following into Hyper (within a Bash shell):

echo -ne "\033]0;Foo\007"

Expected behavior: The window title should change to "Foo." (Try it out on gnome-terminal or another mature Terminal and it should work).

Actual behavior: The window title is still "Hyper."

Env: Linux (Ubuntu 20.04), XFCE

Why this is a problem: I'm using an app that helps me lay out my terminal windows (or spawn new ones if they aren't already open), and the app relies on the X Window title as the window's effective "ID". If all the IDs are the same ("Hyper") then the script doesn't work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named in the issue. Start by reproducing the Bash escape sequence in Hyper on Linux and trace how terminal title updates are handled; done means the X Window title changes from "Hyper" to "Foo" for the reported sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.