godot-xterm/examples/terminal/terminal.gd

8 lines
98 B
GDScript
Raw Permalink Normal View History

extends Terminal
2022-11-09 21:57:46 +01:00
@onready var pty = $PTY
func _ready():
pty.fork(OS.get_environment("SHELL"))