mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 12:14:24 +02:00
Move terminal.gd and pty.gd to godot_xterm directory
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.
This commit is contained in:
parent
e6db81615e
commit
9d15420df3
22 changed files with 46 additions and 43 deletions
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://addons/godot_xterm/nodes/terminal/terminal.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/godot_xterm/terminal.gd" type="Script" id=1]
|
||||
[ext_resource path="res://examples/menu/menu.gd" type="Script" id=2]
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
|
@ -19,4 +19,9 @@ script = ExtResource( 1 )
|
|||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
[connection signal="key_pressed" from="Terminal" to="." method="_on_Terminal_key_pressed"]
|
||||
update_mode = 1
|
||||
copy_on_selection = false
|
||||
bell_muted = false
|
||||
bell_cooldown = 0.1
|
||||
blink_on_time = 0.6
|
||||
blink_off_time = 0.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue