mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-15 06:40:24 +01:00
10 lines
241 B
GDScript
10 lines
241 B
GDScript
extends Control
|
|
|
|
@onready var terminal = $Terminal
|
|
|
|
|
|
func _ready():
|
|
print("terminal size; rows %d; cols %d;" % [terminal.get_rows(), terminal.get_cols()])
|
|
terminal.write("h")
|
|
await get_tree().create_timer(1).timeout
|
|
terminal.write(" i")
|