diff options
author | crupest <crupest@outlook.com> | 2021-06-07 19:24:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-07 19:24:39 +0800 |
commit | 868936626cd32590b697cc5ba0c67e032deabd38 (patch) | |
tree | 1834fb5eabb761252f34022284ed221cfa83b110 /works/life/computer-network-experiment/client.cpp | |
parent | 0dd20e5dde39d1cc42ca5c92f56cdb087c1b8f00 (diff) | |
download | crupest-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.cpp | 3 |
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;
|