mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Ignore unused return value
This commit is contained in:
parent
57dadf7db2
commit
d94253fdc3
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ onready var tput = TPut.new($Terminal)
|
|||
|
||||
func _ready():
|
||||
if not $Terminal.is_connected("key_pressed", self, "_on_Terminal_key_pressed"):
|
||||
# warning-ignore:return_value_discarded
|
||||
$Terminal.connect("key_pressed", self, "_on_Terminal_key_pressed")
|
||||
# warning-ignore:return_value_discarded
|
||||
$Terminal.connect("size_changed", self, "draw_all")
|
||||
|
|
Loading…
Reference in a new issue