godot-xterm/examples/terminal/terminal.gd
2021-07-13 08:16:34 +07:00

7 lines
142 B
GDScript

extends "res://addons/godot_xterm/nodes/terminal/terminal.gd"
onready var pty = $PTY
func _ready():
pty.fork(OS.get_environment("SHELL"))