Leroy Hopson
db8e674358
Multiple changes
2020-10-05 17:56:57 +07:00
Leroy Hopson
f63246d8ea
Make Terminal a tool script
2020-10-05 17:56:57 +07:00
Leroy Hopson
faca53fe28
Center cell string vertically
...
This prevents overlapping so we no longer need to draw all background
cells before the foreground.
2020-10-05 17:56:57 +07:00
Leroy Hopson
0d14fd1e47
Don't cache true colors
...
If a true color has been set it will have code -1 regardless of the
actual color. Therefore, it shouldn't be stored in the color cache
dictionary otherwise all true color cells will be colored the most
recently set value.
2020-10-05 17:56:57 +07:00
Leroy Hopson
57aed28a0e
Change write method to accept both String and PoolByteArray
...
Will print a warning if neither of these types is used as an argument.
2020-10-05 17:56:57 +07:00
Leroy Hopson
ada8b1087d
Copy old cells to new cells when resizing
...
Previously all cells were erased which resulted in the screen becoming
blank in some places until it was redrawn.
2020-10-05 17:56:57 +07:00
Leroy Hopson
66b061bf8b
Ensure terminal is initialized to the correct size
...
Moves the call to update_size() from _init() to _ready() to ensure
Terminal is initialized to the correct size.
2020-10-05 17:56:57 +07:00
Leroy Hopson
d64800229f
Move input handling into the Terminal node
2020-10-05 17:56:57 +07:00
Leroy Hopson
0dabc56076
Update file format
...
Automatically updated by VSCode upon saving the files.
2020-10-05 17:56:57 +07:00
Leroy Hopson
8d3eec465f
Rename 'modules' directory to 'external'
2020-10-05 17:56:57 +07:00
Leroy Hopson
3eecf504cf
Refactor file structure
2020-10-05 17:56:57 +07:00