diff --git a/tmux-mem-cpu-load.cpp b/tmux-mem-cpu-load.cpp index fbd49f7..8819c82 100644 --- a/tmux-mem-cpu-load.cpp +++ b/tmux-mem-cpu-load.cpp @@ -316,6 +316,8 @@ std::string load_string( bool use_colors ) oss << avg << " "; } } + std::string load_line( oss.str() ); + oss.str( "" ); #else // Linux std::ifstream loadavg_file( "/proc/loadavg" );