⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vms-curses.c

📁 早期freebsd实现
💻 C
字号:
/* These are routines that are used in various places within libg++, which   do not actually appear within curses anywhere.  */struct	_kb_st{	int	_id;	unsigned char	_flags;};struct _kb_st * stdkb __asm("_$$PsectAttributes_NOSHR$$stdkb");extern int stdscr; /* This is the wrong type, but it does not matter.  */mvcur(int ly,int lx,int ny,int nx){	wmove (stdscr, ny, nx);}_setecho(int i){	if(i) stdkb->_flags &= ~1;	else stdkb->_flags |= 1;}_setnonl(int i){	if(i) stdkb->_flags &= ~2;	else stdkb->_flags |= 2;}cbreak(){	stdkb->_flags &= ~4;	stdkb->_flags |= 2;}nocbreak(){	stdkb->_flags |= 4;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -