summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-06 23:08:31 +0100
committerubq323 <ubq323@ubq323.website>2022-08-06 23:08:31 +0100
commite8d629f13722e43a838eb8aefc69781a245926a9 (patch)
treec0766838bd5f354d2bdbcdcc7685e201cb659552
parentce4409cb3cb5909c08d731742fcabb86753526db (diff)
img
-rw-r--r--img/better_disp.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua
index ab340de..d6e2adf 100644
--- a/img/better_disp.lua
+++ b/img/better_disp.lua
@@ -156,7 +156,9 @@ local function disp(R,img,scrx,scry,w,h,imgx,imgy)
local lCx_gromlings = adjust_to_2_colors(R,lPx_gromlings,pdists)
for k,v in ipairs(lCx_gromlings) do print("thethe",k,v) end
- local textc,bgc,vlorbchar = vlorb(gromling_list_to_vlorb(lCx_gromlings))
+ local vlorbdf = {gromling_list_to_vlorb(lCx_gromlings)}
+ for k,v in ipairs(vlorbdf) do print("ehteht",k,v) end
+ local textc,bgc,vlorbchar = vlorb(table.unpack(vlorbdf))
R.setTextColor(textc)
R.setBackgroundColor(bgc)
R.write(vlorbchar)