installed pty
[VSoRC/.git] / node_modules / node-pty / deps / winpty / misc / SetCursorPos.cc
diff --git a/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc b/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc
new file mode 100644 (file)
index 0000000..d20fdbd
--- /dev/null
@@ -0,0 +1,10 @@
+#include <windows.h>
+
+#include "TestUtil.cc"
+
+int main(int argc, char *argv[]) {
+    int col = atoi(argv[1]);
+    int row = atoi(argv[2]);
+    setCursorPos(col, row);
+    return 0;
+}