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 | |
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.
-rw-r--r-- | pcoin.cpp | 12 | ||||
-rw-r--r-- | tcoin.cpp | 8 |
2 files changed, 15 insertions, 5 deletions
diff --git a/pcoin.cpp b/pcoin.cpp index 4919ac7..e9f563b 100644 --- a/pcoin.cpp +++ b/pcoin.cpp @@ -805,7 +805,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]; } @@ -899,7 +901,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]; } @@ -986,7 +990,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]; } 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]; } |