mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-09-16 13:36:12 +00:00
Move CursorPos field to buffer struct
This commit is contained in:
+3
-3
@@ -19,9 +19,9 @@ func main() {
|
||||
continue
|
||||
}
|
||||
|
||||
if window.textArea.CurrentBuffer.Name == "New File 1" {
|
||||
delete(Buffers, window.textArea.CurrentBuffer.Id)
|
||||
window.textArea.CurrentBuffer = b
|
||||
if window.CurrentBuffer.Name == "New File 1" {
|
||||
delete(Buffers, window.CurrentBuffer.Id)
|
||||
window.CurrentBuffer = b
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user