⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 initscr.c

📁 compiler
💻 C
字号:
/*@A (C) 1992 Allen I. Holub                                                */
#include "cur.h"

WINDOW	*stdscr;

void	endwin()			 /* Clean up as required */
{
    cmove( 24,0 );
}

void	initscr()
{
    /* Creates stdscr. If you want a boxed screen, call boxed() before this
     * routine. The underlying text is NOT saved. Note that the atexit call
     * insures a clean up on normal exit, but not with a Ctrl-Break, you'll
     * have to call signal() to do that.
     */

    nosave();
    init(-1);
    stdscr = newwin( 25, 80, 0, 0 );
    save();
    atexit( (void (*)(void)) endwin );
}

⌨️ 快捷键说明

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