mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
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).
This commit is contained in:
parent
eda2d36b18
commit
230061c53d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330101
@ -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 .. "["
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user