JaDogg / WKilo

Port of kilo🏋️ text editor to Windows 🪟

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🪟🪟 WKilo 🪟🪟

🤔 What was changed

  • As per this issue use ReadConsoleA for reading characters.
    • Naturally I implemented write using WriteConsoleA also
  • 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, rows as explained here.
  • Changed the behaviour of void editorSave() to simply write the file using a different implementation of write file.

About

Port of kilo🏋️ text editor to Windows 🪟

License:BSD 2-Clause "Simplified" License


Languages

Language:C 99.7%Language:CMake 0.3%