aboutsummaryrefslogtreecommitdiff
path: root/works/life/computer-network-experiment/client.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-07 19:24:39 +0800
committercrupest <crupest@outlook.com>2021-06-07 19:24:39 +0800
commit868936626cd32590b697cc5ba0c67e032deabd38 (patch)
tree1834fb5eabb761252f34022284ed221cfa83b110 /works/life/computer-network-experiment/client.cpp
parent0dd20e5dde39d1cc42ca5c92f56cdb087c1b8f00 (diff)
downloadcrupest-868936626cd32590b697cc5ba0c67e032deabd38.tar.gz
crupest-868936626cd32590b697cc5ba0c67e032deabd38.tar.bz2
crupest-868936626cd32590b697cc5ba0c67e032deabd38.zip
import(life): ...
Diffstat (limited to 'works/life/computer-network-experiment/client.cpp')
-rw-r--r--works/life/computer-network-experiment/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/works/life/computer-network-experiment/client.cpp b/works/life/computer-network-experiment/client.cpp
index 5d5075e..922ecdc 100644
--- a/works/life/computer-network-experiment/client.cpp
+++ b/works/life/computer-network-experiment/client.cpp
@@ -48,7 +48,8 @@ int Main() {
std::string s(buffer, received_number);
- SendOutput(CRUT("Received message:\n{}\n"), ConvertCharString(s));
+ SendOutput(OutputColor::Green, CRUT("Received message:\n"));
+ SendOutput(OutputColor::Normal, CRUT("{}\n"), ConvertCharString(s));
CloseSocket(client_socket);
return 0;