godot-xterm/examples/terminal/terminal.tscn
2021-07-03 22:47:33 +07:00

28 lines
752 B
Text

[gd_scene load_steps=3 format=2]
[ext_resource path="res://addons/godot_xterm/nodes/pty/unix/pty_unix.gd" type="Script" id=2]
[ext_resource path="res://examples/terminal/terminal.gd" type="Script" id=3]
[node name="Terminal" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
focus_mode = 2
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PTY" type="Node" parent="."]
script = ExtResource( 2 )
terminal_path = NodePath("..")
env = {
"COLORTERM": "truecolor",
"TERM": "xterm-256color"
}
[node name="Timer" type="Timer" parent="."]
wait_time = 0.1
autostart = true
[connection signal="bell" from="." to="." method="_on_Terminal_bell"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]