command history
The history interface deals with command history. This includes the ability to override functions to change the main method of saving history.
add(cmd) | Adds a command to the history. |
all() -> table | Retrieves all history as a table. |
clear() | Deletes all commands from the history. |
get(index) | Retrieves a command from the history based on the index . |
size() -> number | Returns the amount of commands in the history. |
Retrieves all history as a table.
This function has no parameters.
Deletes all commands from the history.
This function has no parameters.
Retrieves a command from the history based on the index
.
number
index
Want to help improve this page? Create an issue.