diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-05 16:25:35 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-05 16:25:35 +0100 |
commit | 690fa76a7bc1fa87fecd186a3aca70a562c72b47 (patch) | |
tree | 4afc8083fa3b373787a9700244eae92fc3e27627 | |
parent | 0fb1f6aab39157a969dc3bdc4a76e1d19455fd4b (diff) |
o
-rw-r--r-- | img/driver.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/img/driver.lua b/img/driver.lua index 1997559..7756124 100644 --- a/img/driver.lua +++ b/img/driver.lua @@ -10,7 +10,8 @@ local ff = file:read("a") local img = load_pnm(ff) term.clear() shitty_disp.disp(term.current(),img,1,1) -os.pullEvent() +os.sleep(1) +os.pullEvent("key") shitty_disp.reset_palette(term.current()) |