Skip to content
Permalink
Browse files

Save the console history every time a new command is entered

  • Loading branch information...
mbasaglia committed Oct 25, 2015
1 parent 0dad33b commit 1e479f3062a7434dc4e0ac7a01994b9273057f6a
Showing with 2 additions and 1 deletion.
  1. +2 −1 daemon/src/engine/framework/ConsoleHistory.cpp
@@ -28,7 +28,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===========================================================================
*/

#include "qcommon/q_shared.h"
#include "framework/Application.h"
#include "ConsoleHistory.h"

@@ -98,6 +97,8 @@ void History::Add( const Line& text )

current_line = lines.size();
unfinished.clear();

Save();
}

void History::PrevLine( Line& text )

0 comments on commit 1e479f3

Please sign in to comment.
You can’t perform that action at this time.