mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
improved colored output on login
This commit is contained in:
parent
48da2d195a
commit
9db3208f72
1 changed files with 3 additions and 3 deletions
|
@ -237,7 +237,7 @@ int main(int argc, char* argv[])
|
||||||
int initResult = RsInit::InitRetroShare(conf);
|
int initResult = RsInit::InitRetroShare(conf);
|
||||||
|
|
||||||
#ifdef RS_JSONAPI
|
#ifdef RS_JSONAPI
|
||||||
RsInit::startupWebServices(conf);
|
RsInit::startupWebServices(conf,true);
|
||||||
rstime::rs_usleep(1000000); // waits for jas->restart to print stuff
|
rstime::rs_usleep(1000000); // waits for jas->restart to print stuff
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ int main(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << std::endl << std::endl
|
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)) );
|
int accountCountDigits = static_cast<int>( ceil(log(locations.size())/log(10.0)) );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue