Add load_line variable for OSX.

This commit is contained in:
Matt McCormick 2013-06-11 00:12:51 -04:00
parent 228639fa50
commit d413759f4e

@ -316,6 +316,8 @@ std::string load_string( bool use_colors )
oss << avg << " "; oss << avg << " ";
} }
} }
std::string load_line( oss.str() );
oss.str( "" );
#else // Linux #else // Linux
std::ifstream loadavg_file( "/proc/loadavg" ); std::ifstream loadavg_file( "/proc/loadavg" );