📄 smcursor.c
字号:
/* CXL - Copyright (c) 1987-1989 by Mike Smedley - All Rights Reserved */
/* SMCURSOR.C - sets a small cursor */
#include <conio.h>
#include <dos.h>
#include "cxlvid.h"
#if defined(_M_IX86)
#define outport(a,b) outpw(a,b)
#endif
void smcursor(void)
{
showcur();
switch(_vinfo.adapter) {
case V_CGA:
setcursz(6,7);
break;
case V_EGA:
setcursz(6,7);
break;
case V_VGA:
setcursz(6,7);
break;
default: /* one of the monochrome cards */
setcursz(11,12);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -