Skip to content

Commit

Permalink
Merge pull request #2101 from alerque/save-unicode-from-itself
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque authored Sep 5, 2024
2 parents d9b7b01 + 272c930 commit 8bed2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outputters/text.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ function outputter:setCursor (x, y, relative)
if newy - cursorY > bs then
outfile:write("\n")
else
outfile:write("")
outfile:write("\u{202b}")
end
elseif newx > cursorX then
if newx:tonumber() - cursorX:tonumber() > spc then
outfile:write(" ")
else
outfile:write("")
outfile:write("\u{202b}")
end
end
end
Expand Down

0 comments on commit 8bed2e6

Please sign in to comment.