mirror of https://github.com/PatrickLipka/tt.git
Only add potentially meaningful user input to history
This commit is contained in:
parent
63abc50c81
commit
7ebe1c5fb4
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue