Browse Source

Fixed ANSI_CLS, no raw ansi in logs.

bugz 4 years ago
parent
commit
881d89d462
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mystic.cpp

+ 1 - 1
mystic.cpp

@@ -1436,7 +1436,7 @@ int mangle(int fd, char *buffer) {
         sprintf(display, "%s^F%s.^P3%s", needs_cls ? "\x1b[2J" : "\n\r\n\r",
                 possibles[r].filename, restore_color);
 
-        ZF_LOGI("mangle(ANSI_CLS): %d file inserted %s", r, display);
+        ZF_LOGI("mangle(ANSI_CLS): %d file inserted %s", r, repr(display));
 
         // Move the buffer so there's room for the display string.
         if (string_insert(buffer, BSIZE * 4, cp - buffer, display)) {