forked from test34/can_wizard
Update comment from orig 65db823
This commit is contained in:
parent
16bcf3d8ad
commit
3a76d34b7b
1 changed files with 9 additions and 1 deletions
|
@ -256,7 +256,15 @@ static void freeCompletions(linenoiseCompletions *lc) {
|
||||||
* input.
|
* input.
|
||||||
*
|
*
|
||||||
* The state of the editing is encapsulated into the pointed linenoiseState
|
* The state of the editing is encapsulated into the pointed linenoiseState
|
||||||
* structure as described in the structure definition. */
|
* structure as described in the structure definition.
|
||||||
|
*
|
||||||
|
* If the function returns non-zero, the caller should handle the
|
||||||
|
* returned value as a byte read from the standard input, and process
|
||||||
|
* it as usually: this basically means that the function may return a byte
|
||||||
|
* read from the termianl but not processed. Otherwise, if zero is returned,
|
||||||
|
* the input was consumed by the completeLine() function to navigate the
|
||||||
|
* possible completions, and the caller should read for the next characters
|
||||||
|
* from stdin. */
|
||||||
static int completeLine(struct linenoiseState *ls) {
|
static int completeLine(struct linenoiseState *ls) {
|
||||||
linenoiseCompletions lc = { 0, NULL };
|
linenoiseCompletions lc = { 0, NULL };
|
||||||
int nread, nwritten;
|
int nread, nwritten;
|
||||||
|
|
Loading…
Reference in a new issue