mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 17:50:25 +01:00
9d15420df3
Makes for pretty paths when extending scripts: `extends "res://addons/godot_xterm/terminal.gd"` vs. `extends "res://addons/godot_xterm/nodes/terminal/terminal.gd"` Currently "res://addons/godot_xterm/pty.gd" is acutally `pty_unix.gd`. This is okay for now as the PTY node is only supported on Unix platforms. However, we will need to sort it out when adding Windows support as part of #25. Also remove the GDXterm namespace.
7 lines
127 B
GDScript
7 lines
127 B
GDScript
extends "res://addons/godot_xterm/terminal.gd"
|
|
|
|
onready var pty = $PTY
|
|
|
|
|
|
func _ready():
|
|
pty.fork(OS.get_environment("SHELL"))
|