aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-11-29 23:44:26 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-11-29 23:44:26 -0800
commit263f919bebf2e5be3a95c7445034fab70fed9fab (patch)
treeabed8f4f6063f753406e1fb293be074eff755d74 /complete.h
parent4aaa9e7d9fd08ad3129b3b7ed0c82f368611ea6f (diff)
Replace autosuggestions "completions to load" mechanism with moderately
less hackish and far simpler "perform on main thread" mechanism
Diffstat (limited to 'complete.h')
-rw-r--r--complete.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/complete.h b/complete.h
index 72d5a721..cd4f22a1 100644
--- a/complete.h
+++ b/complete.h
@@ -216,14 +216,11 @@ void complete_remove(const wchar_t *cmd,
const wchar_t *long_opt);
-/** Find all completions of the command cmd, insert them into out. If to_load is
- * not NULL, append all commands that we would autoload, but did not (presumably
- * because this is not the main thread)
+/** Find all completions of the command cmd, insert them into out.
*/
void complete(const wcstring &cmd,
std::vector<completion_t> &comp,
- completion_request_flags_t flags,
- wcstring_list_t *to_load = NULL);
+ completion_request_flags_t flags);
/**
Print a list of all current completions into the string.