Interface: IQMenuPromptFunctions
Core.IQMenuPromptFunctions
Table of contents
Methods
Methods
command
▸ command(command
, callback?
): void
Execute a menu command, with optional callback for working with response data. This function can also be chained with .gotoxy()
Parameters
Name | Type |
---|---|
command |
Function |
callback? |
Function |
Returns
void
Defined in
gotoxy
▸ gotoxy(x
, y
): any
Go to the specified coordinates on the terminal. This function can also be chained with .command()
Parameters
Name | Type | Description |
---|---|---|
x |
number |
Width coordinates. |
y |
number |
Height coordinates. |
Returns
any