Enable compiling 64-bit on Windows using MSVC

Closes #5
This commit is contained in:
Leroy Hopson 2020-11-10 10:04:08 +07:00 committed by Leroy Hopson
parent 399acf00c7
commit 007182b117
11 changed files with 56 additions and 97 deletions

View file

@ -130,6 +130,10 @@ func _on_Terminal_key_pressed(data: String, event: InputEventKey) -> void:
$Terminal.grab_focus()
scene.queue_free()
"Terminal":
if OS.get_name() == "Windows":
return OS.call_deferred("alert", "Psuedoterminal node currently"
+ " uses pty.h but needs to use either winpty or conpty"
+ " to work on Windows.", "Terminal not Supported on Windows")
var scene = item.scene.instance()
var pty = scene.get_node("Pseudoterminal")
get_tree().get_root().add_child(scene)