System/Libraries/Stdio: Implement shell command autocomplete
This commit is contained in:
parent
ad4bc00396
commit
ccac8b2baa
2 changed files with 122 additions and 4 deletions
|
@ -223,8 +223,7 @@ I64 @shell_input_loop(@shell* sh)
|
|||
while (!exit) {
|
||||
|
||||
@shell_update_prompts(sh);
|
||||
Stdio.WriteLine(sh, &sh->PS1);
|
||||
Stdio.ReadLine(sh, &buf);
|
||||
Stdio.ReadLine(sh, sh->PS1, buf);
|
||||
|
||||
@shell_history_append(sh, &buf);
|
||||
argv = @shell_parse_args(sh, &buf, &argc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue