mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-23 02:00:25 +01:00
11 lines
232 B
GDScript3
11 lines
232 B
GDScript3
|
extends Control
|
||
|
|
||
|
onready var terminal = $Terminal
|
||
|
|
||
|
|
||
|
func _ready():
|
||
|
print("terminal size; rows %d; cols %d;" % [terminal.rows, terminal.cols])
|
||
|
terminal.write("h")
|
||
|
yield(get_tree().create_timer(1), "timeout")
|
||
|
terminal.write(" i")
|