diff options
-rw-r--r-- | tty-term.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -302,6 +302,8 @@ tty_term_strip(const char *s) ptr++; if (*ptr == '>') ptr++; + if (*ptr == '\0') + break; } buf[len++] = *ptr; |
![]() |
index : rtmux.git | |
Unnamed repository; edit this file 'description' to name the repository. |
aboutsummaryrefslogtreecommitdiff |
-rw-r--r-- | tty-term.c | 2 |
@@ -302,6 +302,8 @@ tty_term_strip(const char *s) ptr++; if (*ptr == '>') ptr++; + if (*ptr == '\0') + break; } buf[len++] = *ptr; |