summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2023-01-25Use Glypher as the official name of the editorcflip
2023-01-19Clean up main function a bitcflip
This still had some commented out leftovers from the old event loop, and the default window size has also been adjusted.
2023-01-12Clean up editor_state's memory on teardowncflip
2023-01-11Get editor size from the window instead of the terminalcflip
Previously the editor would resize itself upon startup by finding the size of the current terminal window, but now that it is running in an actual window it should get the number of rows and columns from there. This also adds parameters for the window size in rows and columns to the window_init() function.
2023-01-09Implement basic keyboard event handlingcflip
2023-01-08Connect the window and font code to the editor's main functioncflip
2023-01-08Initial import of existing source codecflip
This is based off of snaptoken's "Build Your Own Text Editor" tutorial at https://viewsourcecode.org/snaptoken/kilo/.