summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tterm.c3
1 files changed, 1 insertions, 2 deletions
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 {