From 91d59f1ba812c7df783e459c8af8d1c1be1d27f4 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 17 Aug 2024 22:33:25 +0100 Subject: add \e for escape --- read.c | 1 + 1 file changed, 1 insertion(+) diff --git a/read.c b/read.c index 26dcfd5..11f523c 100644 --- a/read.c +++ b/read.c @@ -106,6 +106,7 @@ static Val string(Reader *R) { case '\\': append('\\'); break; case 't': append('\t'); break; case 'n': append('\n'); break; + case 'e': append('\x1b'); break; case '"': append('"'); break; } next(R); -- cgit v1.2.3