diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-12-23 11:23:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-12-23 11:28:14 +0100 |
commit | e8bc0ea2b100158bf35c635039226235aa879068 (patch) | |
tree | 112767f16aada7f070cbbba4cf9b33ec69941284 /src/shared/util.h | |
parent | 2d0b0528ace89d378051c280bf3be367b2a7d2de (diff) |
journalctl: strip TABs and ANSI color sequences from log messages when displaying them
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index bf24272ea6..25b349a17a 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -559,3 +559,5 @@ typedef enum DrawSpecialChar { const char *draw_special_char(DrawSpecialChar ch); char *strreplace(const char *text, const char *old_string, const char *new_string); + +char *strip_tab_ansi(char **p, size_t *l); |