mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-09-16 05:36:10 +00:00
Add vertical and horizontal scrolling
This commit is contained in:
+7
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user