Add command mode and insert mode

This commit is contained in:
2026-03-25 09:20:12 +09:00
parent 030215b55b
commit 138a877f67
2 changed files with 51 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ func HomeCursor() {
}
func MoveCursor(x, y int) {
fmt.Printf("\x1b[%d;%dH", y, x)
fmt.Printf("\x1b[%d;%dH", y + 1, x + 1)
}
func HideCursor() {