Replace autosuggestions "completions to load" mechanism with moderately

less hackish and far simpler "perform on main thread" mechanism
This commit is contained in:
ridiculousfish
2013-11-29 23:44:26 -08:00
parent 4aaa9e7d9f
commit 263f919beb
5 changed files with 24 additions and 57 deletions

View File

@@ -1358,7 +1358,7 @@ void perf_complete()
str[0]=c;
reader_set_buffer(str, 0);
complete(str, out, COMPLETION_REQUEST_DEFAULT, NULL);
complete(str, out, COMPLETION_REQUEST_DEFAULT);
matches += out.size();
out.clear();
@@ -1378,7 +1378,7 @@ void perf_complete()
reader_set_buffer(str, 0);
complete(str, out, COMPLETION_REQUEST_DEFAULT, NULL);
complete(str, out, COMPLETION_REQUEST_DEFAULT);
matches += out.size();
out.clear();