diff options
author | login (tilde.temm) <login@tilde.team> | 2020-02-21 21:36:31 -0500 |
---|---|---|
committer | login (tilde.temm) <login@tilde.team> | 2020-02-21 21:36:31 -0500 |
commit | 578b4277ec91a19c266f52090182ad2ce74dea23 (patch) | |
tree | 2e2743b2049ec575cb128d87d1ae6292ab2433e9 /tcoin.cpp | |
parent | 98cbab74e896b673316ea8f7253f9350749bbeec (diff) | |
parent | 37a0ec67d4ab00a2470c0e7acf6df844a5c5c5cf (diff) | |
download | tcoin-578b4277ec91a19c266f52090182ad2ce74dea23.tar.gz |
Merge branch 'master' of https://github.com/login000/tcoin
I made a mistake. I should have done this before making my commits. That's the only reason why this merge is necessary.
Diffstat (limited to 'tcoin.cpp')
-rw-r--r-- | tcoin.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tcoin.cpp b/tcoin.cpp index 2010af1..5bf6faa 100644 --- a/tcoin.cpp +++ b/tcoin.cpp @@ -1080,7 +1080,9 @@ int send_message(const char* sender_username, const char* receiver_username, con for(int i=0; message[i]!='\0'; ++i) { if(message[i] == '\n') - fout << "\u23CE "; //return-key symbol, or return symbol, or enter symbol; space for spacing + fout << "<new-line>"; //return-key pressed + else if(message[i] == '\v') + fout << "<vertical-tab>"; //vertical-tab symbol entered else fout << message[i]; } @@ -1174,7 +1176,9 @@ int send_message(const char* sender_username, const char* receiver_username, con for(int i=0; message[i]!='\0'; ++i) { if(message[i] == '\n') - fout << "\u23CE "; //return-key symbol; space for spacing + fout << "<new-line>"; //return-key pressed + else if(message[i] == '\v') + fout << "<vertical-tab>"; //vertical-tab symbol entered else fout << message[i]; } |