add special character \e.

This commit is contained in:
ValKmjolnir
2022-02-18 01:58:49 +08:00
parent 05fc5db337
commit e77bb73a82
4 changed files with 27 additions and 1 deletions
+1
View File
@@ -117,6 +117,7 @@ std::string rawstr(const std::string& str)
{
case '\a': ret+="\\a";break;
case '\b': ret+="\\b";break;
case '\e': ret+="\\e";break;
case '\f': ret+="\\f";break;
case '\n': ret+="\\n";break;
case '\r': ret+="\\r";break;