dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 2673e9d08aba1dfbd405fb6fa13169fed7ce5c34
parent c38c27b0b738f5012baf6bd9599ff4d8b9779e7e
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 29 Sep 2016 14:49:40 +0200

Immediately pass on window title

Close #32

Diffstat:
dvtm.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dvtm.c b/dvtm.c @@ -547,8 +547,10 @@ settitle(Client *c) { char *term, *t = title; if (!t && sel == c && *c->title) t = c->title; - if (t && (term = getenv("TERM")) && !strstr(term, "linux")) + if (t && (term = getenv("TERM")) && !strstr(term, "linux")) { printf("\033]0;%s\007", t); + fflush(stdout); + } } static void