Posted 08 September 2012 - 05:19 AM
[left]vMenu currently lets you make a basic menu like the one in the edit program. More menu formats will be added.[/left]
Functions
[left]vMenu.simple(tItems, noQuit)[/left]
[left]When called creates a menu which replaces the bottom row of the terminal and returns the selected entry.[/left]
[left]Arguments:[/left]
[left]tItems: An array (table with consecutive numerical values starting at one) of all the menu items.[/left]
[left]noQuit: Determines weather or not to allow quitting from the menu with CTRL, defaults to false. If allowed, quitting the menu will return a nil value.[/left]
[left]You can get it either here, or using the following command on a http enabled computer:[/left]
[left]pastebin get 1EzHXZ7S vMenu[/left]
[left]Once you have it, use os.loadApi("vMenu") to get it.[/left]
Functions
[left]vMenu.simple(tItems, noQuit)[/left]
[left]When called creates a menu which replaces the bottom row of the terminal and returns the selected entry.[/left]
[left]Arguments:[/left]
[left]tItems: An array (table with consecutive numerical values starting at one) of all the menu items.[/left]
[left]noQuit: Determines weather or not to allow quitting from the menu with CTRL, defaults to false. If allowed, quitting the menu will return a nil value.[/left]
[left]You can get it either here, or using the following command on a http enabled computer:[/left]
[left]pastebin get 1EzHXZ7S vMenu[/left]
[left]Once you have it, use os.loadApi("vMenu") to get it.[/left]