Fixed bug where cursor was positioned to the second character instead of the first, after reading a file

This commit is contained in:
2023-04-19 17:21:57 -05:00
parent 6d50747752
commit 5414cf41c9

View File

@@ -113,7 +113,7 @@ int main(int argc, char** argv) {
return -10;
}
while (num_of_chars > 1) {
while (num_of_chars > 0) {
buffer_left(buffer);
num_of_chars--;
}