mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Ignore link assuming stdscr is NULL
This commit is contained in:
parent
27943b9efb
commit
4401dbe092
|
@ -2453,7 +2453,7 @@ static char *xreadline(const char *prefill, const char *prompt)
|
|||
memmove(buf + pos - 1, buf + pos,
|
||||
(len - pos) * WCHAR_T_WIDTH);
|
||||
--pos, --len;
|
||||
} while (buf[pos-1] != ' ' && buf[pos-1] != '/');
|
||||
} while (buf[pos - 1] != ' ' && buf[pos - 1] != '/'); // NOLINT
|
||||
continue;
|
||||
case CONTROL('K'):
|
||||
printprompt(prompt);
|
||||
|
|
Loading…
Reference in a new issue