commit 8a6dcbffa4c18adb4ed4a98fe43aac51dd9cd9ed
parent 54c91681380332187e0265bd5e492be58afcbd3d
Author: dwrz <dwrz@dwrz.net>
Date: Mon, 19 Dec 2022 20:10:49 +0000
Refactor editor canvas pkg
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pkg/editor/canvas/render.go b/pkg/editor/canvas/render.go
@@ -4,11 +4,12 @@ import (
"fmt"
"path"
+ "github.com/mattn/go-runewidth"
+
"code.dwrz.net/src/pkg/color"
"code.dwrz.net/src/pkg/editor/buffer"
"code.dwrz.net/src/pkg/editor/message"
"code.dwrz.net/src/pkg/terminal"
- "github.com/mattn/go-runewidth"
)
func (c *Canvas) Render(b *buffer.Buffer, msg *message.Message) error {