aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index b5b461c..bf7264e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1499,7 +1499,6 @@ static char *xreadline(char *prefill, char *prompt)
case '\t': /* TAB breaks cursor position, ignore it */
continue;
case CONTROL('L'):
- clearprompt();
printprompt(prompt);
len = pos = 0;
continue;
@@ -1510,7 +1509,6 @@ static char *xreadline(char *prefill, char *prompt)
pos = len;
continue;
case CONTROL('U'):
- clearprompt();
printprompt(prompt);
memmove(buf, buf + pos, (len - pos) << 2);
len -= pos;