diff options
Diffstat (limited to '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) |