From 1b9ed0973b1a717a153db5598f80096678a32806 Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Sat, 8 Feb 2020 00:58:50 -0500 Subject: [PATCH] Update wpath.lua --- wpath.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpath.lua b/wpath.lua index 48d7492..65c7dad 100644 --- a/wpath.lua +++ b/wpath.lua @@ -57,8 +57,8 @@ local render = function(shift,mon) line = bow:rep(scr_x):sub(1,scr_x) local text = ("#"):rep(scr_x) if wpath.doFlip then - txcol = wrap(line, -1*math.abs(scr_y/2-y)+shift-1) - bgcol = wrap(line, -1*math.abs(scr_y/2-y)+shift) + txcol = wrap(line:reverse(), -1*math.abs(scr_y/2-y)+shift-1) + bgcol = wrap(line:reverse(), -1*math.abs(scr_y/2-y)+shift) else txcol = wrap(line, -1*math.abs(y-scr_y/2)+shift-1) bgcol = wrap(line, -1*math.abs(y-scr_y/2)+shift)