diff options
| author | 2019-01-24 20:21:00 +0530 | |
|---|---|---|
| committer | 2019-01-24 20:21:00 +0530 | |
| commit | 278280a7410fe57ecc7979ab5cb4ea90c1b2c358 (patch) | |
| tree | f542f6f7912d0820144665b1ef1496395bfe38b9 | |
| parent | e039b0ee354b5f76f71d5ba6f918130bc91d8fe2 (diff) | |
| download | nnn-278280a7410fe57ecc7979ab5cb4ea90c1b2c358.tar.gz | |
Remove redundant calls
| -rw-r--r-- | src/nnn.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |