diff options
author | nicm <nicm> | 2019-05-29 20:05:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-29 20:05:14 +0000 |
commit | 7dced376737ef685e09fd5a49161ca2bf423e91b (patch) | |
tree | 6f8d776bf67584d497386832b172132cd8703dbf /tty-term.c | |
parent | c17edd594e8088d2355102a8ca58f4b256c59397 (diff) | |
download | rtmux-7dced376737ef685e09fd5a49161ca2bf423e91b.tar.gz rtmux-7dced376737ef685e09fd5a49161ca2bf423e91b.tar.bz2 rtmux-7dced376737ef685e09fd5a49161ca2bf423e91b.zip |
Use VIS_CSTYLE for the arguments and add the missing escapes it can
generate to the parser.
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -685,7 +685,7 @@ tty_term_describe(struct tty_term *term, enum tty_code_code code) break; case TTYCODE_STRING: strnvis(out, term->codes[code].value.string, sizeof out, - VIS_OCTAL|VIS_TAB|VIS_NL); + VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL); xsnprintf(s, sizeof s, "%4u: %s: (string) %s", code, tty_term_codes[code].name, out); |