From 816fc3ee43683e224449b6ad2ddbff696d24759e Mon Sep 17 00:00:00 2001 From: XMRig Date: Fri, 4 Aug 2017 11:10:33 +0300 Subject: [PATCH] Fixed terminal issues after exit on Linux and OS X. --- src/App.cpp | 1 + src/version.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.cpp b/src/App.cpp index 4ef8a1a6..2e7b72ff 100644 --- a/src/App.cpp +++ b/src/App.cpp @@ -115,6 +115,7 @@ int App::exec() const int r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); uv_loop_close(uv_default_loop()); + uv_tty_reset_mode(); free(m_network); free(m_options); diff --git a/src/version.h b/src/version.h index cef479b8..3d197ee3 100644 --- a/src/version.h +++ b/src/version.h @@ -27,14 +27,14 @@ #define APP_ID "xmrig" #define APP_NAME "XMRig" #define APP_DESC "Monero (XMR) CPU miner" -#define APP_VERSION "2.2.0" +#define APP_VERSION "2.2.1" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" #define APP_COPYRIGHT "Copyright (C) 2016-2017 xmrig.com" #define APP_VER_MAJOR 2 #define APP_VER_MINOR 2 -#define APP_VER_BUILD 0 +#define APP_VER_BUILD 1 #define APP_VER_REV 0 #ifdef _MSC_VER