_reset.c

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· C语言 代码 · 共 30 行

C
30
字号
#ifdef lintstatic char *sccsid = "@(#)_reset.c	4.1	(ULTRIX)	7/2/90";#endif lint#include "curses.ext"extern	int	_outch();_reset (){#ifdef DEBUG	if(outf) fprintf(outf, "_reset().\n");#endif	tputs(enter_ca_mode, 0, _outch);	tputs(cursor_visible, 0, _outch);	tputs(exit_attribute_mode, 0, _outch);	tputs(clear_screen, 0, _outch);	SP->phys_x = 0;	SP->phys_y = 0;	SP->phys_irm = 1;	SP->virt_irm = 0;	SP->phys_top_mgn = 4;	SP->phys_bot_mgn = 4;	SP->des_top_mgn = 0;	SP->des_bot_mgn = lines-1;	SP->ml_above = 0;	_setwind();}

⌨️ 快捷键说明

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