1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-22 12:04:20 -05:00

fixed a typo preventing [2J from working

This commit is contained in:
XeonSquared 2020-04-11 09:01:13 +10:00
parent a9b3c6adf3
commit 23173506b9

View File

@ -97,7 +97,7 @@ function vt100emu(gpu) -- takes GPU component proxy *gpu* and returns a function
elseif cc == "J" and tA[1] == 1 then elseif cc == "J" and tA[1] == 1 then
gpu.fill(1,1,mx,cy," ") gpu.fill(1,1,mx,cy," ")
elseif cc == "J" and tA[1] == 2 then elseif cc == "J" and tA[1] == 2 then
gpu.full(1,1,mx,my," ") gpu.fill(1,1,mx,my," ")
cx, cy = 1, 1 cx, cy = 1, 1
elseif cc == "J" then elseif cc == "J" then
gpu.fill(1,cy,mx,my," ") gpu.fill(1,cy,mx,my," ")