mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' into CPlusPlus
This commit is contained in:
6
common.h
6
common.h
@@ -22,6 +22,8 @@
|
||||
#include <assert.h>
|
||||
#include "util.h"
|
||||
|
||||
struct completion_t;
|
||||
|
||||
/* Common string type */
|
||||
typedef std::wstring wcstring;
|
||||
typedef std::vector<wcstring> wcstring_list_t;
|
||||
@@ -193,6 +195,8 @@ void show_stackframe();
|
||||
*/
|
||||
wchar_t **list_to_char_arr( array_list_t *l );
|
||||
|
||||
wchar_t **completions_to_char_arr( std::vector<completion_t> &l );
|
||||
|
||||
/**
|
||||
Read a line from the stream f into the buffer buff of length len. If
|
||||
buff is to small, it will be reallocated, and both buff and len will
|
||||
@@ -214,6 +218,8 @@ void sort_list( array_list_t *comp );
|
||||
|
||||
void sort_strings( std::vector<wcstring> &strings);
|
||||
|
||||
void sort_completions( std::vector<completion_t> &strings);
|
||||
|
||||
/**
|
||||
Returns a newly allocated wide character string equivalent of the
|
||||
specified multibyte character string
|
||||
|
||||
Reference in New Issue
Block a user