mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Some work to allow completions to be evaluated off of the main thread
This commit is contained in:
@@ -1429,7 +1429,7 @@ static void remove_internal_separator2( wcstring &s, int conv )
|
||||
}
|
||||
|
||||
|
||||
int expand_string( const wcstring &input, std::vector<completion_t> &output, int flags )
|
||||
int expand_string( const wcstring &input, std::vector<completion_t> &output, expand_flags_t flags )
|
||||
{
|
||||
parser_t parser(PARSER_TYPE_ERRORS_ONLY);
|
||||
std::vector<completion_t> list1, list2;
|
||||
@@ -1639,7 +1639,7 @@ int expand_string( const wcstring &input, std::vector<completion_t> &output, int
|
||||
return res;
|
||||
}
|
||||
|
||||
bool expand_one(wcstring &string, int flags) {
|
||||
bool expand_one(wcstring &string, expand_flags_t flags) {
|
||||
std::vector<completion_t> completions;
|
||||
bool result = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user