add \t as a separator for completion tokens
This commit is contained in:
parent
0e9b3a86ce
commit
2fb67a3f5a
|
@ -64,7 +64,7 @@ static GtkTreeModel *create_completion_model(VteTerminal *vte) {
|
||||||
GTree *tree = g_tree_new((GCompareFunc)strcmp);
|
GTree *tree = g_tree_new((GCompareFunc)strcmp);
|
||||||
|
|
||||||
for (int j = 1; ; j++, s_ptr = NULL) {
|
for (int j = 1; ; j++, s_ptr = NULL) {
|
||||||
char *token = strtok_r(s_ptr, " \n", &saveptr);
|
char *token = strtok_r(s_ptr, " \n\t", &saveptr);
|
||||||
if (!token) {
|
if (!token) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue