newwin.3cur
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 46 行
3CUR
46 行
.TH newwin 3cur .SH Namenewwin \- create new window.SH Syntax.br.B#include <cursesX.h>.PP.br.BWINDOW \(**newwin(nlines, ncols, begin_y, begin_x).br.Bint nlines, ncols, begin_y, begin_x;.SH Description.NXR "newwin subroutine"The function.PN newwincreates a new window with the number of lines, .PN nlines ,and columns, .PN ncols .The upper left corner of the window is at line .PN begin_y ,column .PN begin_x ..PPIf either .PN nlinesor .PN ncolsis zero, they will be defaulted to LINES - .PN begin_yand COLS - .PN begin_x .A new full-screen window is created by calling .PN newwin (0,0,0,0)..SH Return ValuesOn success the.PN newwin function returns a pointer to the new WINDOW structure created. On failurethe function returns a null pointer.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?