improved colored output on login

This commit is contained in:
csoler 2023-11-11 23:49:55 +01:00
parent 48da2d195a
commit 9db3208f72

View File

@ -237,7 +237,7 @@ int main(int argc, char* argv[])
int initResult = RsInit::InitRetroShare(conf);
#ifdef RS_JSONAPI
RsInit::startupWebServices(conf);
RsInit::startupWebServices(conf,true);
rstime::rs_usleep(1000000); // waits for jas->restart to print stuff
#endif
@ -263,7 +263,7 @@ int main(int argc, char* argv[])
}
std::cout << std::endl << std::endl
<< colored(COLOR_GREEN,"Available accounts:") << std::endl;
<< colored(COLOR_GREEN,"Available accounts:") << std::endl<<std::endl;
int accountCountDigits = static_cast<int>( ceil(log(locations.size())/log(10.0)) );