mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
9896a362c3
Automatic updates applied to scenes after opening in Godot editor v3.4.4-stable.
28 lines
748 B
Text
28 lines
748 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://themes/audio/bell.wav" type="AudioStream" id=1]
|
|
[ext_resource path="res://addons/godot_xterm/pty.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
|
|
}
|
|
copy_on_selection = true
|
|
|
|
[node name="PTY" type="Node" parent="."]
|
|
script = ExtResource( 2 )
|
|
terminal_path = NodePath("..")
|
|
env = {
|
|
"COLORTERM": "truecolor",
|
|
"TERM": "xterm-256color"
|
|
}
|
|
|
|
[node name="Bell" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 1 )
|
|
|
|
[connection signal="bell" from="." to="Bell" method="play"]
|