mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-25 10:40:25 +01:00
b08d218a59
Currently tests only run on X11.64 platform. But other platforms can be supported with a bit of effort. Remove default bell sound as it does not play nicely with CI environment that does not have sound card.
26 lines
776 B
Text
26 lines
776 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gd" type="Script" id=1]
|
|
[ext_resource path="res://examples/menu/menu.gd" type="Script" id=2]
|
|
[ext_resource path="res://addons/godot_xterm/themes/audio/bell.wav" type="AudioStream" id=3]
|
|
|
|
[node name="Menu" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Terminal" type="Control" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_pivot_offset = Vector2( -731.582, 67.4799 )
|
|
focus_mode = 1
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
bell_sound = ExtResource( 3 )
|
|
|
|
[connection signal="key_pressed" from="Terminal" to="." method="_on_Terminal_key_pressed"]
|