Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-16 | Improve behaviour when opening a file from the command line | cflip | |
The editor had two issues when reading a file with a name from the command line. The most annoying issue was that when reallocating the internal filename in the editor, the null terminator wasn't copied which sometimes left garbage at the end of the filename. The other issue was that the editor would quit with a fatal error if there was no file with the specified name, when it should open the file anyway and just create it on save. | |||
2023-01-12 | Replace call to strdup() with equivalent behaviour | cflip | |
This was causing the editor to crash on startup when opening a file from the command line. | |||
2023-01-11 | Remove all terminal-related code | cflip | |
2023-01-08 | Initial import of existing source code | cflip | |
This is based off of snaptoken's "Build Your Own Text Editor" tutorial at https://viewsourcecode.org/snaptoken/kilo/. |