mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 10:20:24 +01:00
Ignore unused return value
This commit is contained in:
parent
fd4e383cae
commit
f643d0ac51
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