src

Go monorepo.
Log | Files | Refs

commit 33b54b8c0a21d99fb62c0d6461d1872bfba99306
parent dbbdfdb26227884c1cd95f892716bccfca3040de
Author: dwrz <dwrz@dwrz.net>
Date:   Sat, 10 Dec 2022 14:19:17 +0000

Fix editor canvas cursor

Diffstat:
Mpkg/editor/canvas/render.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/editor/canvas/render.go b/pkg/editor/canvas/render.go @@ -44,7 +44,7 @@ func (c *Canvas) Render(b *buffer.Buffer, msg *message.Message) error { // Set the cursor. c.buf.Write([]byte(fmt.Sprintf( - terminal.SetCursorFmt, cursor.Line(), cursor.Glyph(), + terminal.SetCursorFmt, output.Line, output.Glyph, ))) c.buf.Write([]byte(terminal.CursorShow))