mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 17:50:25 +01:00
21 lines
408 B
Text
21 lines
408 B
Text
[gd_scene load_steps=2 format=2]
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
script/source = "extends \"res://addons/godot_xterm/terminal.gd\"
|
|
|
|
var rng := RandomNumberGenerator.new()
|
|
|
|
|
|
func _ready():
|
|
rng.seed = 0
|
|
|
|
|
|
func _process(_delta):
|
|
for _i in range(4096):
|
|
write(PackedByteArray([rng.randi() % 256]))
|
|
"
|
|
|
|
[node name="Terminal" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = SubResource( 1 )
|