📄 endwin.c
字号:
#ifdef lintstatic char *sccsid = "@(#)endwin.c 4.1 (ULTRIX) 7/2/90";#endif lint#include "curses.ext"/* * Clean things up before exiting. * endwin is TRUE if we have called endwin - this avoids calling it twice. */extern int _endwin;extern int _c_clean();extern int _fixdelay();extern int _outch();extern int _pos();extern int doupdate();extern int reset_shell_mode();extern int tputs();intendwin(){ int saveci = SP->check_input; if (_endwin) return; /* Flush out any output not output due to typeahead */ SP->check_input = 9999; doupdate(); SP->check_input = saveci; /* in case of another initscr */ _fixdelay(SP->fl_nodelay, FALSE); if (stdscr->_use_meta) tputs(meta_off, 1, _outch); _pos(lines-1, 0); _c_clean(); _endwin = TRUE; reset_shell_mode(); fflush(stdout);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -