diff options
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 393a2bb..b9da553 100644 --- a/tcoin.cpp +++ b/tcoin.cpp @@ -1071,7 +1071,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]; } @@ -1165,7 +1167,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]; } |