summaryrefslogtreecommitdiff
path: root/file.h
AgeCommit message (Collapse)Author
2023-01-31Reimplement editor_prompt and 'Save as' using the new prompt modeHEADmastercflip
Now there there is a new way to prompt for text, we can reimplement the long abandoned editor_prompt function and use it to allow saving to new files. The new editor_prompt function takes a callback that will be called after the user presses enter on the prompt.
2023-01-08Use C-style include guards instead of #pragma oncecflip
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/.