Add vertical and horizontal scrolling

This commit is contained in:
EnumDev committed 2025-06-10 20:42:32 +03:00
1 parent e3d5b46465
commit 7b140c4298
4 files changed
+94 -42

No files matched your search

+7 -4
View File
@@ -8,10 +8,13 @@ import (
)
type Buffer struct {
Id int
Name string
Contents string
CursorPos int
Id int
Name string
Contents string
CursorPos int
OffsetX, OffsetY int
Selection *Selection
canSave bool