mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 18:20:25 +01:00
11 lines
232 B
GDScript
11 lines
232 B
GDScript
|
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")
|