| 594 | } |
| 595 | |
| 596 | int Console::lineedit(const std::string & prompt, std::string & output, CommandHistory & ch) |
| 597 | { |
| 598 | wlock->lock(); |
| 599 | int ret = Console::SHUTDOWN; |
| 600 | if(inited) |
| 601 | ret = d->lineedit(prompt,output,wlock,ch); |
| 602 | wlock->unlock(); |
| 603 | return ret; |
| 604 | } |
| 605 | |
| 606 | void Console::msleep (unsigned int msec) |
| 607 | { |