Lua Console/Log#

The Lua Console can be used to run Lua commands interactively and also displays log messages.

Lua commands are run as coroutines, long running commands that yield properly will not cause the UI to freeze.

Settings#

The following settings for the Lua Console are stored in settings/console.lua.json.

window.x#
Type:
integer
Default:
50

The window X position.

Version History

Version

Notes

0.3.0

Added

window.y#
Type:
integer
Default:
50

The window Y position.

Version History

Version

Notes

0.3.0

Added

window.width#
Type:
integer
Default:
400

The window width.

Version History

Version

Notes

0.3.0

Added

window.height#
Type:
integer
Default:
200

The window height.

Version History

Version

Notes

0.3.0

Added

window.visible#
Type:
boolean
Default:
false

If the window is displayed.

Version History

Version

Notes

0.3.0

Added

colors.ERROR#
Type:
integer
Default:
0x911717FF

The color used to display ERROR messages.

Version History

Version

Notes

0.3.0

Added

colors.WARNING#
Type:
integer
Default:
0xb8326FF

The color used to display WARNING messages.

Version History

Version

Notes

0.3.0

Added

colors.DEBUG#
Type:
integer
Default:
0x676F80FF

The color used to display DEBUG messages.

Version History

Version

Notes

0.3.0

Added

colors.INFO#
Type:
integer
Default:
0xFFFFFFFF

The color used to display INFO messages.

Version History

Version

Notes

0.3.0

Added