From d4724fab08656e18c7a8570febc094afbfa814d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 8 Jun 2021 16:21:47 +0200 Subject: Remove old fg handling It has been replaced on the shell side. --- tterm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tterm.c') diff --git a/tterm.c b/tterm.c index ae57ab8..aaeb042 100644 --- a/tterm.c +++ b/tterm.c @@ -133,8 +133,7 @@ loop: if (strncmp(line, "cwd", 3) == 0) { } else if (strncmp(line, "cmd", 3) == 0) { line[len-1] = 0; line += 3; - if (strncmp(line, "fg", 2) != 0) - snprintf(cmd, MAX_CMD, "%s (%s)", line, cwd); + snprintf(cmd, MAX_CMD, "%s (%s)", line, cwd); XStoreName(display, w, cmd); XFlush(display); } else { -- cgit v1.2.3