diff --git a/src/input.cpp b/src/input.cpp index 3eee323..e9bdebd 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -23,6 +23,7 @@ vector get_input() { int n = buffer.length(); if (n >= 2 && buffer[n-1] == ';' && buffer[n-2] == ';') { + input.push_back(buffer); buffer[n-1] = '\0'; break; }