Add basic dropdown functionality

This commit is contained in:
2025-06-04 16:00:52 +03:00
parent b52729646c
commit a2876c2086
6 changed files with 291 additions and 45 deletions
+1 -2
View File
@@ -20,7 +20,7 @@ func main() {
PrintMessage(window, "Could not open file: "+file)
continue
}
Buffers[b.Id] = b
if initialBuffer == nil {
initialBuffer = b
}
@@ -28,7 +28,6 @@ func main() {
}
if initialBuffer != nil {
delete(Buffers, window.textArea.CurrentBuffer.Id)
window.textArea.CurrentBuffer = initialBuffer
}