📄 _dumpwin.c
字号:
#ifdef lintstatic char *sccsid = "@(#)_dumpwin.c 4.1 (ULTRIX) 7/2/90";#endif lint/* * make the current screen look like "win" over the area covered by * win. * * 7/9/81 (Berkeley) @(#)refresh.c 1.6 */# include "curses.ext"static WINDOW *lwin;#ifdef DEBUG_dumpwin(win)register WINDOW *win;{ register int x, y; register chtype *nsp; if (!outf) { return; } if (win == stdscr) fprintf(outf, "_dumpwin(stdscr)--------------\n"); else if (win == curscr) fprintf(outf, "_dumpwin(curscr)--------------\n"); else fprintf(outf, "_dumpwin(%o)----------------\n", win); for (y=0; y<win->_maxy; y++) { if (y > 76) break; nsp = &win->_y[y][0]; fprintf(outf, "%d: ", y); for (x=0; x<win->_maxx; x++) { _sputc(*nsp, outf); nsp++; } fprintf(outf, "\n"); } fprintf(outf, "end of _dumpwin----------------------\n");}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -