edit: Fix completion of arguments other than the first one
This commit is contained in:
parent
73669f1b03
commit
e4f13f9256
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ static void complete(int list)
|
|||
|
||||
end = cmdbuf_pos;
|
||||
start = end;
|
||||
while (start > 0 && cmdbuf[start] != ' ')
|
||||
while (start > 0 && cmdbuf[start - 1] != ' ')
|
||||
start--;
|
||||
plen = end - start;
|
||||
|
||||
|
|
Loading…
Reference in a new issue