mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 12:04:24 +02:00
Make native library easier to build/use
Makes libtsm a static library rather than dynamic so that it doesn't
have to be installed as a system library on the user's operating system.
Also updates SConstruct to work on more operating systems other than
just NixOS. Adds a number of docker files for building the library on
various distributions (NixOS, Arch Linux, Ubuntu).
Uses a fork of godot-cpp with an updated godot_headers submodule that
includes godotengine/godot_headers#76. We should go back to tracking
https://github.com/godotengine/godot-cpp once the submodule has
been updated in that repo.
Former-commit-id: d8c8b5b272
This commit is contained in:
parent
5cc2b2c718
commit
f8412a03f5
30 changed files with 489 additions and 158 deletions
|
@ -15,7 +15,6 @@ onready var viewport = get_viewport()
|
|||
|
||||
func _ready():
|
||||
$Pseudoterminal.connect("data_received", $Terminal, "write")
|
||||
$Pseudoterminal.connect("data_received", self, "_on_data_received")
|
||||
|
||||
viewport.connect("size_changed", self, "_resize")
|
||||
_resize()
|
||||
|
@ -51,10 +50,6 @@ func _input(event):
|
|||
$Pseudoterminal.put_data(data)
|
||||
|
||||
|
||||
func _on_data_received(data: PoolByteArray):
|
||||
print("Got data: %s" % data.get_string_from_utf8())
|
||||
|
||||
|
||||
func _resize():
|
||||
rect_size = viewport.size
|
||||
$Terminal.rect_size = rect_size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue