Files
NapCatQQ/.pnpm-store/v3/files/c8/00e9b4dbf92ee7315781acda9e4b16ccbc2007819454ca3e1da1624b5db2c4c0ca3d3d1e84ee21ea0722e9ec3c21ad7794661928688a066e61a57cf775d574
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

31 lines
555 B
Plaintext

#include <windows.h>
#include "TestUtil.cc"
int main(int argc, char *argv[]) {
if (argc == 1) {
startChildProcess(L"CHILD");
return 0;
}
const int WIDTH = 25;
setWindowPos(0, 0, 1, 1);
setBufferSize(WIDTH, 40);
setWindowPos(0, 0, WIDTH, 20);
system("cls");
for (int i = 0; i < 100; ++i) {
printf("FOO(%d)\n", i);
}
repeatChar(5, '\n');
repeatChar(WIDTH * 5, '.');
repeatChar(10, '\n');
setWindowPos(0, 20, WIDTH, 20);
writeBox(0, 5, 1, 10, '|');
Sleep(120000);
}