~martanne/dvtm

be6c3f8f615daeab214d484e6fff22e19631a0d1 — Ben Davenport-Ray 6 years ago 311a8c0
When updating the title, mark the window as dirty

This was tested with Kakoune, which reliably was able to dirty the buffer
whenever I press the right arrow key. (Go figure.)

This should fix #80 and #53; possibly #61 and #20.
1 files changed, 1 insertions(+), 0 deletions(-)

M dvtm.c
M dvtm.c => dvtm.c +1 -0
@@ 558,6 558,7 @@ settitle(Client *c) {
	if (t && (term = getenv("TERM")) && !strstr(term, "linux")) {
		printf("\033]0;%s\007", t);
		fflush(stdout);
		wnoutrefresh(c->window);
	}
}