Skip to content

Commit

Permalink
use library wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jul 1, 2024
1 parent 6350b33 commit 4cf38f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/journal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function TextEditorView:restoreCursor()
end

function TextEditorView:recomputeLines()
self.lines = strict_wrap(self.text,
self.lines = self.text:wrap(
self.frame_body.width,
{
return_as_table=true,
Expand Down

0 comments on commit 4cf38f3

Please sign in to comment.