Arun Prakash Jana
pirms 4 gadiem
vecāks
revīzija
feec63ebb3
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: A75979F35C080412
1 mainītis faili ar
3 papildinājumiem un
3 dzēšanām
-
src/nnn.c
|
|
@@ -712,20 +712,20 @@ static void printinfoln(const char *str) |
|
|
|
|
|
|
|
static int get_input(const char *prompt) |
|
|
|
{ |
|
|
|
int r = KEY_RESIZE; |
|
|
|
int r; |
|
|
|
|
|
|
|
if (prompt) |
|
|
|
printprompt(prompt); |
|
|
|
cleartimeout(); |
|
|
|
#ifdef KEY_RESIZE |
|
|
|
while (r == KEY_RESIZE) { |
|
|
|
do { |
|
|
|
r = getch(); |
|
|
|
if (r == KEY_RESIZE && prompt) { |
|
|
|
clearoldprompt(); |
|
|
|
xlines = LINES; |
|
|
|
printprompt(prompt); |
|
|
|
} |
|
|
|
}; |
|
|
|
} while (r == KEY_RESIZE); |
|
|
|
#else |
|
|
|
r = getch(); |
|
|
|
#endif |
|
|
|