fixed a typo preventing [2J from working

This commit is contained in:
Izaya 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
gpu.fill(1,1,mx,cy," ")
elseif cc == "J" and tA[1] == 2 then
gpu.full(1,1,mx,my," ")
gpu.fill(1,1,mx,my," ")
cx, cy = 1, 1
elseif cc == "J" then
gpu.fill(1,cy,mx,my," ")