Add escape code for ESC \e

This commit is contained in:
gingerBill
2018-06-15 23:13:26 +01:00
parent ba776a3c9f
commit 6d1c32eb77
3 changed files with 143 additions and 146 deletions

View File

@@ -451,6 +451,7 @@ bool unquote_char(String s, u8 quote, Rune *rune, bool *multiple_bytes, String *
case 'a': *rune = '\a'; break;
case 'b': *rune = '\b'; break;
case 'e': *rune = 0x1b; break;
case 'f': *rune = '\f'; break;
case 'n': *rune = '\n'; break;
case 'r': *rune = '\r'; break;