Constructor
new MultiWindow(columns, rows, colorOfBorder, optionsopt)
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
columns |
Array.<number> | the sizes of the columns | |||||||||||||
rows |
Array.<number> | the sizes of the rows | |||||||||||||
colorOfBorder |
string | the color to make the border, see color_codes.txt for more info | |||||||||||||
options |
Object |
<optional> |
options for the instance
Properties
|
- Source:
Members
(static) container_class :Container
Returns the container class
Type:
- Source:
(static) cursor :module:cursor
Return the cursor module
Type:
- Source:
Methods
c()
Same as container
- Source:
- See:
clearAll()
Clear all containers
- Source:
container(y, x) → {Container}
Get the container at the specified coordinates
Parameters:
Name | Type | Description |
---|---|---|
y |
number | the container y position |
x |
number | the container x position |
- Source:
Returns:
- the container
- Type
- Container
drawBorders()
Internal function called for drawing the main borders.
- Source:
exit()
Exits the process
Same as process.exit() but with correct formatting
- Source:
gotoEnd()
Internally used function, moves cursor to bottom of console
- Source:
setupExit()
Internally used function for setting up exit handling
- Source: