Small fix

This commit is contained in:
jordan4ibanez 2017-08-04 05:30:37 -04:00
parent 56ce7fae40
commit 9388a08d8b

View File

@ -45,6 +45,8 @@ function terminal_logic(dt)
if globalkey == "return" then
terminal_history = terminal_history..terminal_input.."\n"
terminal_input = ""
elseif globalkey == "`" or globalkey == "/" then
globalkey = nil
elseif globalkey == "backspace" then
terminal_input = terminal_input:sub(1, -2)
elseif globalkey == "space" then