📄 m_erase.c
字号:
#ifdef lintstatic char *sccsid = "@(#)m_erase.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 *//* * Erase the contents of the desired screen - set to all _blanks. */m_erase(){ register int n;#ifdef DEBUG if (outf) fprintf(outf, "M_ERASE, erasing %d lines\n", lines);#endif for (n = 0; n < lines; n++) { _clearline(n); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -