1
0
Fork 0

Clear entire screen on tape change

This commit is contained in:
Casey 2023-10-17 20:03:10 +03:00
parent 426ad21103
commit 9b6b198798
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ function()
screen_w, screen_h = term.getSize()
elseif ev == "tape_present" then
table_of_contents = {}
term.clear()
if evd[1] then
drive.stop()
drive.seek(-drive.getSize())