~kaction/dvtm

11a1b34dc87b3bfa448f095d21f14d70e560ec74 — Ben Davenport-Ray 3 years ago e072109
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);
	}
}