setscrreg.3cur

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 57 行

3CUR
57
字号
.TH setscrreg 3cur .SH Namesetscrreg, wsetscrreg \- set scrolling region.SH Syntax.br.B#include <cursesX.h>.PP.br.Bint setscrreg(top, bot).br.Bint top, bot;.PP.Bint wsetscrreg(win, top, bot).br.BWINDOW \(**win;.br.Bint top, bot;.SH Description.NXR "setscrreg subroutine".NXR "wsetscrreg subroutine".PPThe .PN setscrregroutine sets the scrolling regionfor the default window..PPThe .PN wsetscrregroutine sets the scrolling regionfor the named window.Use these routines to set a software scrolling regionin a window.  .PPFor both routines, the line numbers of the top and bottom margins of the scrolling region are contained in.PN topand .PN bot .Line 0 is the top line of the window..PPIf this option and .PN scrollok are enabled, an attempt to move off the bottom margin line will cause alllines in the scrolling region to scroll up one line.Only the text of the window is scrolled..SH Return ValuesNo return values are defined for these functions..SH See Alsoscrollok(3cur)

⌨️ 快捷键说明

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