]> Sergey Matveev's repositories - st.git/commit
Reset title when an empty title string is given
authorDOGMAN <dogman@aaathats3as.com>
Wed, 3 Apr 2024 17:48:11 +0000 (19:48 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 3 Apr 2024 17:49:05 +0000 (19:49 +0200)
commit497a75638291454875ba1ec8d484c7f3d6f41d66
treed1df0d8f57fd4af2a69664f9861d9c318671f015
parent8c68ec52419f3f965164cafcf589b87e8961348d
Reset title when an empty title string is given

With this patch, st will reset its window title when an empty string is
given as the terminal title. For example:
printf "\033]0;\007"

Some applications, like termdown, expect this functionality. xterm
implements it, but it seems that most other terminal emulators don't.
In any case, I don't see why there should ever be a case where the st
window doesn't have a title property.
x.c