index
:
rtmux.git
master
rahm
Tmux with Rahm's extra hacks.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
tty-term.c
2
1 files changed, 2 insertions, 0 deletions
diff --git a/tty-term.c b/tty-term.c
index 3ccff2ff..5aac1e0c 100644
--- a/
tty-term.c
+++ b/
tty-term.c
@@ -302,6 +302,8 @@ tty_term_strip(const char *s)
ptr++;
if (*ptr == '>')
ptr++;
+ if (*ptr == '\0')
+ break;
}
buf[len++] = *ptr;