style: format
This commit is contained in:
@@ -258,10 +258,10 @@ function drawConsole(y)
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function handleConsoleInput(char)
|
function handleConsoleInput(char)
|
||||||
commandBuffer = commandBuffer..char
|
commandBuffer = commandBuffer .. char
|
||||||
end
|
end
|
||||||
|
|
||||||
registerEventListener("char", handleConsoleInput)
|
registerEventListener("char", handleConsoleInput)
|
||||||
|
|
||||||
function handleConsoleKeys(key)
|
function handleConsoleKeys(key)
|
||||||
@@ -271,6 +271,7 @@ function handleConsoleKeys(key)
|
|||||||
commandBuffer = ""
|
commandBuffer = ""
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
registerEventListener("key", handleConsoleKeys)
|
registerEventListener("key", handleConsoleKeys)
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|||||||
Reference in New Issue
Block a user