X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=node_modules%2Fnode-pty%2Fdeps%2Fwinpty%2Fmisc%2FWin10WrapTest1.cc;fp=node_modules%2Fnode-pty%2Fdeps%2Fwinpty%2Fmisc%2FWin10WrapTest1.cc;h=0000000000000000000000000000000000000000;hp=645fa95d5428810429fd7cd99f54aba8f0eb2f09;hb=5e96dd57ddd883604e87f62bdddcb111c63a6e1a;hpb=acb5f682a2b75b972710cabd81658f63071324b0 diff --git a/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc b/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc deleted file mode 100644 index 645fa95..0000000 --- a/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Demonstrates some wrapping behaviors of the new Windows 10 console. - */ - -#include -#include -#include - -#include "TestUtil.cc" - -int main(int argc, char *argv[]) { - if (argc == 1) { - startChildProcess(L"CHILD"); - return 0; - } - - setWindowPos(0, 0, 1, 1); - setBufferSize(40, 20); - setWindowPos(0, 0, 40, 20); - - system("cls"); - - repeatChar(39, 'A'); repeatChar(1, ' '); - repeatChar(39, 'B'); repeatChar(1, ' '); - printf("\n"); - - repeatChar(39, 'C'); repeatChar(1, ' '); - repeatChar(39, 'D'); repeatChar(1, ' '); - printf("\n"); - - repeatChar(40, 'E'); - repeatChar(40, 'F'); - printf("\n"); - - repeatChar(39, 'G'); repeatChar(1, ' '); - repeatChar(39, 'H'); repeatChar(1, ' '); - printf("\n"); - - Sleep(2000); - - setChar(39, 0, '*', 0x24); - setChar(39, 1, '*', 0x24); - - setChar(39, 3, ' ', 0x24); - setChar(39, 4, ' ', 0x24); - - setChar(38, 6, ' ', 0x24); - setChar(38, 7, ' ', 0x24); - - Sleep(2000); - setWindowPos(0, 0, 35, 20); - setBufferSize(35, 20); - trace("DONE"); - - printf("Sleeping forever...\n"); - while(true) { Sleep(1000); } -}