summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-05 16:25:35 +0100
committerubq323 <ubq323@ubq323.website>2022-08-05 16:25:35 +0100
commit690fa76a7bc1fa87fecd186a3aca70a562c72b47 (patch)
tree4afc8083fa3b373787a9700244eae92fc3e27627 /img
parent0fb1f6aab39157a969dc3bdc4a76e1d19455fd4b (diff)
o
Diffstat (limited to 'img')
-rw-r--r--img/driver.lua3
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())