diff options
-rw-r--r-- | tterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -121,7 +121,8 @@ main(int argc, char *argv[]) XFlush(display); } else if (strncmp(line, "cmd", 3) == 0) { line += 3; line[len-4] = 0; /* chomp */ - snprintf(cmd, MAX_CMD, "%s (%s)", line, cwd); + if (strncmp(line, "fg", 2) != 0) + snprintf(cmd, MAX_CMD, "%s (%s)", line, cwd); XStoreName(display, w, cmd); XFlush(display); } else { |