godot-xterm/examples/terminal/terminal.gd
Leroy Hopson 39702646dc
Add namespace
Adds a globally unique namespace `GDXterm` that can be used to
conveniently access scripts.
2021-07-03 20:45:11 +07:00

7 lines
105 B
GDScript

extends GDXterm.Terminal
onready var pty = $PTY
func _ready():
pty.fork(OS.get_environment("SHELL"))