?? 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 + -