summaryrefslogtreecommitdiff
path: root/tterm.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-08 16:21:47 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-08 16:21:47 +0200
commitd4724fab08656e18c7a8570febc094afbfa814d3 (patch)
tree3e536add0d6f60cd33905f8d44f5d7fbbf6fbb68 /tterm.c
parent94f3ca40d73a47856ef6145cdd18aafa9cedccd7 (diff)
downloadtterm-d4724fab08656e18c7a8570febc094afbfa814d3.tar.gz
Remove old fg handling
It has been replaced on the shell side.
Diffstat (limited to 'tterm.c')
-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 {