m_refresh.c

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

C
35
字号
#ifdef lintstatic char *sccsid = "@(#)m_refresh.c	4.1	(ULTRIX)	7/2/90";#endif lint# include	"curses.ext"# include	<signal.h>/* *	mini.c contains versions of curses routines for minicurses. *	They work just like their non-mini counterparts but draw on *	std_body rather than stdscr.  This cuts down on overhead but *	restricts what you are allowed to do - you can't get stuff back *	from the screen and you can't use multiple windows or things *	like insert/delete line (the logical ones that affect the screen). *	All this but multiple windows could probably be added if somebody *	wanted to mess with it. * * 3/5/81 (Berkeley) @(#)addch.c	1.3 *//* * Update the screen.  Like refresh but minicurses version. */m_refresh(){	/* Tell the back end where to leave the cursor */	if (stdscr->_leave) {		_ll_move(-1, -1);	} else {		_ll_move(stdscr->_cury+stdscr->_begy,			stdscr->_curx+stdscr->_begx);	}	return _ll_refresh(stdscr->_use_idl);}

⌨️ 快捷键说明

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