Problem with autocompletion: builtin completion (C) (SOLVED)

As you can see in the first line in my own terminal "echo " is being autcompleted (I did use ), however the test is not recognizing this (Im programming in C).

Any help is appreciated :slight_smile:

Please provide a link to your GitHub Repository or at least the source code which deals with the autocompletion and reading, so that others can find the issue.
I have a question to you regarding my own problem: How you read the input character by character and reacted on the tab keypress instantly?

UPDATE: I managed to know what the issue was: I was not adding a ‘\0’ terminator each time I read the input.

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.