Only add potentially meaningful user input to history

This commit is contained in:
Patrick Lipka 2021-12-16 12:22:31 +01:00
parent 63abc50c81
commit 7ebe1c5fb4
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ int main(){
if (buffer){ if (buffer){
std::string str = buffer; std::string str = buffer;
parse_input(str,&proj_list); parse_input(str,&proj_list);
add_history(buffer); if(str.length() > 1) add_history(buffer);
free(buffer); free(buffer);
} }
} }