diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-08-24 08:01:17 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-08-24 08:01:17 +0100 |
commit | aa084bb49e4202198932933c75def4d32af72290 (patch) | |
tree | 0bcc09179f7cdfcee1548d6872ce40eddb069072 /tty-term.c | |
parent | 769ae106588c35bf21c28984fd50655804f1229c (diff) | |
parent | e4a4fcfc90b09774cb15b030689e977fefe12678 (diff) | |
download | rtmux-aa084bb49e4202198932933c75def4d32af72290.tar.gz rtmux-aa084bb49e4202198932933c75def4d32af72290.tar.bz2 rtmux-aa084bb49e4202198932933c75def4d32af72290.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -305,6 +305,8 @@ tty_term_strip(const char *s) ptr++; if (*ptr == '>') ptr++; + if (*ptr == '\0') + break; } buf[len++] = *ptr; |