From a45da620e6e6f8146665291d47f238e68adb855d Mon Sep 17 00:00:00 2001 From: AAAA Date: Mon, 19 Apr 2021 03:41:04 -0500 Subject: [PATCH] builtin: add string representation of ESC (#9799) --- vlib/builtin/int.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/builtin/int.v b/vlib/builtin/int.v index a3a4653afb..ec1e36698d 100644 --- a/vlib/builtin/int.v +++ b/vlib/builtin/int.v @@ -472,6 +472,7 @@ pub fn (b byte) str_escaped() string { 11 { r'`\v`' } 12 { r'`\f`' } 13 { r'`\r`' } + 27 { r'`\e`' } 32...126 { b.ascii_str() } else { '0x' + b.hex() } }