mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 20:24:23 +02:00
Add rudimentary terminal to editor's bottom panel
In order to use the gdnative library as an editor plugin it was neccessary to set the `reloadable` property of the gdnlib file to false, in order to prevent crashes when the godot editor window lost focus. This may have consequences when recompiling the library. See: https://docs.godotengine.org/en/3.3/classes/class_gdnativelibrary.html#class-gdnativelibrary-property-reloadable Still crashes quite frequently and doesn't close child processes properly. Part of #43.
This commit is contained in:
parent
33e4640b4b
commit
5e25ebbab6
7 changed files with 320 additions and 1 deletions
|
@ -108,6 +108,7 @@ func _ready():
|
|||
|
||||
|
||||
func _refresh():
|
||||
_screen.update()
|
||||
if update_mode == UpdateMode.AUTO:
|
||||
_native_terminal.update_mode = UpdateMode.ALL_NEXT_FRAME
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue