Move CursorPos field to buffer struct

This commit is contained in:
2025-06-08 13:10:30 +03:00
parent 2ec4fc0cea
commit 1620b6c2b9
5 changed files with 70 additions and 79 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
func drawLineIndex(window *Window) {
screen := window.screen
buffer := window.textArea.CurrentBuffer
buffer := window.CurrentBuffer
lineIndexStyle := tcell.StyleDefault.Foreground(tcell.ColorDimGray).Background(tcell.Color237)