xtitle
xtitle copied to clipboard
Control characters in window titles not stripped
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