diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-06 23:08:31 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-06 23:08:31 +0100 |
commit | e8d629f13722e43a838eb8aefc69781a245926a9 (patch) | |
tree | c0766838bd5f354d2bdbcdcc7685e201cb659552 | |
parent | ce4409cb3cb5909c08d731742fcabb86753526db (diff) |
img
-rw-r--r-- | img/better_disp.lua | 4 |
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) |