mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +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,
|
memmove(buf + pos - 1, buf + pos,
|
||||||
(len - pos) * WCHAR_T_WIDTH);
|
(len - pos) * WCHAR_T_WIDTH);
|
||||||
--pos, --len;
|
--pos, --len;
|
||||||
} while (buf[pos-1] != ' ' && buf[pos-1] != '/');
|
} while (buf[pos - 1] != ' ' && buf[pos - 1] != '/'); // NOLINT
|
||||||
continue;
|
continue;
|
||||||
case CONTROL('K'):
|
case CONTROL('K'):
|
||||||
printprompt(prompt);
|
printprompt(prompt);
|
||||||
|
|
Loading…
Reference in a new issue