Clear entire screen on tape change
This commit is contained in:
parent
426ad21103
commit
9b6b198798
|
@ -101,6 +101,7 @@ function()
|
||||||
screen_w, screen_h = term.getSize()
|
screen_w, screen_h = term.getSize()
|
||||||
elseif ev == "tape_present" then
|
elseif ev == "tape_present" then
|
||||||
table_of_contents = {}
|
table_of_contents = {}
|
||||||
|
term.clear()
|
||||||
if evd[1] then
|
if evd[1] then
|
||||||
drive.stop()
|
drive.stop()
|
||||||
drive.seek(-drive.getSize())
|
drive.seek(-drive.getSize())
|
||||||
|
|
Loading…
Reference in New Issue