You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed fields having to do with file name and path from the global state in the main package.
Reverted NewScreenBuffer to just take a file pointer, because the name of the a file already contains the path.
Added path/filepath import to screenbuf.go to work with paths on NewScreenBuffer().
Fixed bug on pressing enter when the buffer length is greater than the default height. Bug was introduced when trying to scroll text when adding lines to the bottom.
Added row (cursorPos.y) to AddLineToBuffer(int,int) parameter list.
Re-added code to deal with loading a file, reading a line with no \n, EOF at the end and there's still data read in the buffer.