Browse Source

Remove redundant calls

master
Arun Prakash Jana 5 years ago
parent
commit
278280a741
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/nnn.c

+ 0
- 2
src/nnn.c View File

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


Loading…
Cancel
Save