Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control characters in window titles not stripped #17

Open
George-NG opened this issue Nov 8, 2018 · 0 comments
Open

Control characters in window titles not stripped #17

George-NG opened this issue Nov 8, 2018 · 0 comments

Comments

@George-NG
Copy link

I've been running xtitle for a while with i3-gaps and i3blocks-gaps, only using xtitle -s.

I've stumbled upon a forum post (requires AWS account) where a person created a thread with title containing terminal control characters. In this case it changes the colour to red. Here is how the title looks like in the website source:

  <title>
    AWS Developer Forums: [�[1;31mFAILED�[0m] Failed to mount ...
  </title>

This prints the actual red text in your terminal!
Unless this was some sort of a design decision, I think xtitle should strip any control characters from it's output, or even its input.

Let me know if you need more details.

Thanks,
George

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

No branches or pull requests

1 participant