mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-13 06:29:11 +00:00
Apply fixes and speedups
This commit is contained in:
parent
7521bf9e73
commit
725f4d79f6
36 changed files with 682 additions and 334 deletions
4
third_party/linenoise/linenoise.c
vendored
4
third_party/linenoise/linenoise.c
vendored
|
@ -1624,6 +1624,10 @@ static ssize_t linenoiseEdit(int stdin_fd, int stdout_fd, const char *prompt,
|
|||
case 'O':
|
||||
if (nread < 3) break;
|
||||
switch (seq[2]) {
|
||||
CASE('A', linenoiseEditUp(&l));
|
||||
CASE('B', linenoiseEditDown(&l));
|
||||
CASE('C', linenoiseEditRight(&l));
|
||||
CASE('D', linenoiseEditLeft(&l));
|
||||
CASE('H', linenoiseEditHome(&l));
|
||||
CASE('F', linenoiseEditEnd(&l));
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue