# Class: LuaConsole

### LuxModule: luxinialuacore

The console is a programming and debugging tool within the runtime environment of Luxinia. The LuaConsole provides interactive access on Luxinia.

## Methods:

### Method overview:

- activeplugins
- applications
- browseHistory
- cursor
- input
- inputHistory
- inputModified
- lastinput
- lines
- runningApplication
- scrollLine
- setConsolePlugin

activeplugins
  [table] - table of all plugin functions.
applications
  [table] - table of all consoleapplications.
browseHistory
  [int] - position where the user is in history
cursor
  [int] - position of inputcursor, must be >0 and <= size of input + 1.
input
  [AutoTable] - A 'normal' table that is obtained from the AutoTable class. Represents userinput as array
inputHistory
  [CyclicQueue] - cyclic array with defaultsize = 1000 of all user (successful) inputs he made.
inputModified
  [boolean] - True if the input was changed by user, so the input must be stored in 'lastinput'
lastinput
  [AutoTable] - The last line of input the user made before started scrolling through the history.
lines
  [CyclicQueue] - A cyclic array object obtained from the CyclicQueue class. Stores 1000 lines per default.
runningApplication
  [table] - currently running consoleapplication.
scrollLine
  [int] - position in output display.
setConsolePlugin (function fn)
  returns: (any key)
  Add a pluginfunction to the console. All. Plugins are being executed at the end of a drawcycle which means that additional characters can be set on the console, i.e. interactive help.