quitando basura del index
[VSoRC/.git] / node_modules / node-pty / deps / winpty / misc / Win32Echo1.cc
diff --git a/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc b/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc
deleted file mode 100644 (file)
index 06fc79f..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * A Win32 program that reads raw console input with ReadFile and echos
- * it to stdout.
- */
-
-#include <stdio.h>
-#include <conio.h>
-#include <windows.h>
-
-int main()
-{
-    int count = 0;
-    HANDLE hStdIn = GetStdHandle(STD_INPUT_HANDLE);
-    HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
-    SetConsoleMode(hStdIn, 0);
-
-    while (true) {
-        DWORD actual;
-        char ch;
-        ReadFile(hStdIn, &ch, 1, &actual, NULL);
-        printf("%02x ", ch);
-        if (++count == 50)
-            break;
-    }
-    return 0;
-}