use different colors for sent and received commands

This commit is contained in:
Martin Michelsen
2022-04-03 23:35:11 -07:00
parent be69f26af5
commit 028078925d
6 changed files with 30 additions and 6 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ void ProxyServer::LinkedSession::on_server_input() {
for_each_received_command(this->server_bev.get(), this->version, this->server_input_crypt.get(),
[&](uint16_t command, uint32_t flag, string& data) {
print_received_command(command, flag, data.data(), data.size(),
this->version, this->server_name.c_str());
this->version, this->server_name.c_str(), TerminalFormat::FG_RED);
process_proxy_command(
this->server->state,
*this,