- 🪟 Windows Port of kilo text editor tutorial source
- Original tutorial can be found here
- Which is based on antirez’s kilo
- As per this issue use
ReadConsoleAfor reading characters.- Naturally I implemented
writeusingWriteConsoleAalso
- Naturally I implemented
- Since we do not have the
getline()method (because it's only in POSIX) I lazily stole it from here - We can get the console
cols, rowsas explained here. - Changed the behaviour of
void editorSave()to simply write the file using a different implementation of write file.
