Im working on a crude console based text editor in C++ kind of like nano. I\'ve already figured out a basic way of inputting multiple lines of text and writing it to a file