add \t as a separator for completion tokens

This commit is contained in:
Daniel Micay 2012-06-05 15:24:05 -04:00
parent 0e9b3a86ce
commit 2fb67a3f5a
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ static GtkTreeModel *create_completion_model(VteTerminal *vte) {
GTree *tree = g_tree_new((GCompareFunc)strcmp);
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) {
break;
}