esh should reset when drawing tab completions

This commit is contained in:
K. Lange 2018-09-17 13:19:58 +09:00
parent c678b6562d
commit d929a932a2
2 changed files with 1672 additions and 1 deletions

1671
apps/esh.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -546,7 +546,7 @@ void tab_complete_func(rline_context_t * c) {
}
} else {
/* Print matches */
fprintf(stderr,"\n");
fprintf(stderr,"\n\033[0m");
size_t j = 0;
foreach(node, matches) {
char * match = (char *)node->value;