summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
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())