联想无线鼠标拆卸:在linux下,如何打开终端辅口扩展盒

来源:百度文库 编辑:高校问答 时间:2024/04/27 09:39:48
char* ptOpenCode3="\033!0;0;0;0X\033[/50h\033[/51h\033%%B";
char* ptCloseCode="\033%%A\033[/51l\033[/50l";
printf(ptOpenCode3);
printf("PRINT 1\n");
printf(ptCloseCode);
以上我写的其中源码之一
char* ptOpenCode3="\033!0;0;0;0X\033[/50h\033[/51h";
char* ptCloseCode="\033[/51l\033[/50l";
printf(ptOpenCode3);
printf("PRINT 1\n");
printf(ptCloseCode);
以上是不用扩展盒的源码,测试一切正常