-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfixes, Zoom, and Cursor #22
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General feedback, some suggestions, and potential bug identifications.
@@ -1069,6 +1221,11 @@ int main(int argc, char *argv[]) { | |||
strcpy(FILENAME_BUFFER.buf, "unnamed.txt"); | |||
|
|||
|
|||
HINT_TEXT_QUEUE = calloc(8192, sizeof(char*)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arbitrary buffer sizes aren't great but I understand that we might hack it until we get a more permanent solution in. All the same, 8192 is a magic number here- would be better to put it in a static const
variable. Again, the more permanent solution would be to re-use the data structures that we have.
There is now a cursor when editing text, that you can move around with the arrow keys, and zooming now works with - and =.
Yes these should have been two different PRs.