mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 09:40:25 +01:00
22 lines
417 B
GDScript
22 lines
417 B
GDScript
extends Animation
|
|
|
|
signal data_written(data)
|
|
signal data_read(data)
|
|
|
|
@export var version: int = 2
|
|
# Initial terminal width (number of columns).
|
|
@export var width: int
|
|
# Initial terminal height (number of rows).
|
|
@export var height: int
|
|
|
|
|
|
func get_class() -> String:
|
|
return "Asciicast"
|
|
|
|
|
|
func is_class(name) -> bool:
|
|
return name == get_class() or super.is_class(name)
|
|
|
|
|
|
func _init():
|
|
step = 0.01 # Parent override.
|