From d413759f4e1e8ec28fdedf14f04e1ce6139d11d4 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Tue, 11 Jun 2013 00:12:51 -0400 Subject: [PATCH] Add load_line variable for OSX. --- tmux-mem-cpu-load.cpp | 2 ++ 1 file changed, 2 insertions(+) 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" );