Browse Source

esh should reset when drawing tab completions

K. Lange 4 years ago
parent
commit
d929a932a2
2 changed files with 1672 additions and 1 deletions
  1. 1671 0
      apps/esh.c
  2. 1 1
      apps/sh.c

File diff suppressed because it is too large
+ 1671 - 0
apps/esh.c


+ 1 - 1
apps/sh.c

@@ -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;