| 883 | } |
| 884 | |
| 885 | bool Console::shutdown(void) |
| 886 | { |
| 887 | if(!d) |
| 888 | return true; |
| 889 | d->reset_color(); |
| 890 | std::lock_guard<std::recursive_mutex> lock{*wlock}; |
| 891 | close(d->exit_pipe[1]); |
| 892 | if (d->state != Private::con_lineedit) |
| 893 | inited = false; |
| 894 | return true; |
| 895 | } |
| 896 | |
| 897 | void Console::begin_batch() |
| 898 | { |
no test coverage detected