aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-26 20:11:34 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-26 20:11:34 -0800
commitf74a82776f9a20f09149712d50cee557d8302ec0 (patch)
treec24d45936ba2d272035709f8dd7f8943cd24f5c8 /complete.h
parent3553e650891db84b3feffaef872d378c750f807b (diff)
Some more changes in preparation for turning on complete-based autosuggestions
Diffstat (limited to 'complete.h')
-rw-r--r--complete.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.h b/complete.h
index 6412a5ba..0a78b77d 100644
--- a/complete.h
+++ b/complete.h
@@ -223,8 +223,8 @@ void complete_remove( const wchar_t *cmd,
const wchar_t *long_opt );
-/** Find all completions of the command cmd, insert them into out. */
-void complete( const wcstring &cmd, std::vector<completion_t> &comp, complete_type_t type );
+/** 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) */
+void complete( const wcstring &cmd, std::vector<completion_t> &comp, complete_type_t type, wcstring_list_t *to_load = NULL );
/**
Print a list of all current completions into the string_buffer_t.