Return to kbd.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.4, 2001/01/29 01:58:07 | version 1.5, 2001/05/03 20:40:22 | ||
---|---|---|---|
|
|
||
#ifndef NO_DPROMPT | #ifndef NO_DPROMPT | ||
if (flag && !pushed) { | if (flag && !pushed) { | ||
if (prompt[0] != '\0' && ttwait()) { | if (prompt[0] != '\0' && ttwait(2000)) { | ||
/* avoid problems with % */ | /* avoid problems with % */ | ||
ewprintf("%s", prompt); | ewprintf("%s", prompt); | ||
/* put the cursor back */ | /* put the cursor back */ |