Also remove the input buffer
Clone of the tiny text editor kilo, written following a tutorial. Not an exact copy of either, and I'm once done with the tutorial I may add more features.