diff --git a/src/YUILoader.cc b/src/YUILoader.cc index 1c28c0f03..994a893cc 100644 --- a/src/YUILoader.cc +++ b/src/YUILoader.cc @@ -119,6 +119,15 @@ void YUILoader::loadUI( bool withThreads ) wantedGUI = YUIPlugin_NCurses; } + if (cmdline.find("--threads") != -1) { + yuiMilestone () << "Explicitly enabling UI threads" << std::endl; + withThreads = true; + } + if (cmdline.find("--nothreads") != -1) { + yuiMilestone () << "Explicitly disabling UI threads" << std::endl; + withThreads = false; + } + // Load the wanted UI-plugin. if( wantedGUI != "" ) {