This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Control | |
# Mostly inspired off https://www.youtube.com/watch?v=80cwYGvKB9U | |
# and https://github.com/godotengine/godot/issues/8003 | |
onready var input_node: LineEdit = $Input | |
onready var output_node: TextEdit = $Output | |
# Dump some commands in here for convenience | |
var history = ["get_tree().get_root().get_node('Main')"] |