quitando basura del index
[VSoRC/.git] / node_modules / node-pty / deps / winpty / misc / FormatChar.h
diff --git a/node_modules/node-pty/deps/winpty/misc/FormatChar.h b/node_modules/node-pty/deps/winpty/misc/FormatChar.h
deleted file mode 100644 (file)
index aade488..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <ctype.h>
-#include <stdio.h>
-#include <string.h>
-
-static inline void formatChar(char *str, char ch)
-{
-    // Print some common control codes.
-    switch (ch) {
-    case '\r': strcpy(str, "CR "); break;
-    case '\n': strcpy(str, "LF "); break;
-    case ' ':  strcpy(str, "SP "); break;
-    case 27:   strcpy(str, "^[ "); break;
-    case 3:    strcpy(str, "^C "); break;
-    default:
-        if (isgraph(ch))
-            sprintf(str, "%c ", ch);
-        else
-            sprintf(str, "%02x ", ch);
-        break;
-    }
-}