diff --git a/moe.nimble b/moe.nimble index 24fd2de89..fc2cf5ef9 100644 --- a/moe.nimble +++ b/moe.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.5.0" +version = "0.2.5.1" author = "fox0430" description = "A command lined based text editor" license = "GPLv3" diff --git a/src/moepkg/editorview.nim b/src/moepkg/editorview.nim index 237e063c6..016181204 100644 --- a/src/moepkg/editorview.nim +++ b/src/moepkg/editorview.nim @@ -217,9 +217,10 @@ proc writeCurrentLine(win: var Window, currentLineColorPair.inc + # Write spaces after text in the current line let - spaces = ru" ".repeat(view.width - view.lines[y].len) - x = view.widthOfLineNum + view.lines[y].len + spaces = ru" ".repeat(view.width - view.lines[y].width) + x = view.widthOfLineNum + view.lines[y].width view.write(win, y, x, spaces, currentLineColorPair) else: view.write(win, y, x, str, highlight[i].color)