Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
24
bitchx-docs/6_Functions/winsize
Normal file
24
bitchx-docs/6_Functions/winsize
Normal file
@@ -0,0 +1,24 @@
|
||||
Synopsis:
|
||||
$winsize([<window>])
|
||||
|
||||
Technical:
|
||||
This returns the height, in lines, of the specified window, not including
|
||||
the status line or the input line. It may be given either a window name
|
||||
or a window number. If no window is specified, the current is assumed.
|
||||
|
||||
Practical:
|
||||
This function is mainly useful for aliased commands that generate a lot
|
||||
of output. Since the height of the window is known, the script can page
|
||||
the output a window at a time.
|
||||
|
||||
Returns:
|
||||
number of lines in window, or nothing if window does not exist
|
||||
|
||||
Examples:
|
||||
$winsize(1) returns size of window #1
|
||||
$winsize(main) returns size of window "main"
|
||||
$winsize() returns size of current window
|
||||
|
||||
See Also:
|
||||
geom(6); window(4) size
|
||||
|
||||
Reference in New Issue
Block a user