From 230061c53d4087036d9555911b73b63af26b1f50 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 28 Feb 2018 05:11:10 +0000 Subject: [PATCH] lualoader: Add note that \027 is a decimal representation We've included an extra '0' in there (which might get removed later, but it's maintained for the moment for legacy purposes) which oftentimes indicate that the following number should be treated as octal. This is not the case, so note that to prevent future confusion (of myself and others). --- stand/lua/core.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/lua/core.lua b/stand/lua/core.lua index 66607bec9e2d..3c256588a090 100644 --- a/stand/lua/core.lua +++ b/stand/lua/core.lua @@ -46,6 +46,8 @@ core.KEY_BACKSPACE = 8 core.KEY_ENTER = 13 core.KEY_DELETE = 127 +-- Note that this is a decimal representation, despite the leading 0 that in +-- other contexts (outside of Lua) may mean 'octal' core.KEYSTR_ESCAPE = "\027" core.KEYSTR_CSI = core.KEYSTR_ESCAPE .. "["