From 2c6f11e4ebee43bc336e2b9f9baf484bbb661fac Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 9 Jul 2017 21:59:02 +0200 Subject: [PATCH] restored terminal output control class --- retroshare-nogui/src/TerminalApiClient.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/retroshare-nogui/src/TerminalApiClient.cpp b/retroshare-nogui/src/TerminalApiClient.cpp index cc20c2fb3..3c5e55703 100644 --- a/retroshare-nogui/src/TerminalApiClient.cpp +++ b/retroshare-nogui/src/TerminalApiClient.cpp @@ -141,9 +141,8 @@ void TerminalApiClient::data_tick() bool ask_for_password = false; std::string key_name; -#ifdef TO_REMOVE + // This is only used to remove echo from the input and allow us to replace it by what we want. TerminalInput term; -#endif while(!shouldStop()) { @@ -226,7 +225,7 @@ void TerminalApiClient::data_tick() account_number_size = (int)ceil(log(accounts.size())/log(10.0f)) ; for(uint32_t i=0;i