terminal tweaks
This commit is contained in:
parent
f9bae92bff
commit
e1fad92110
|
@ -196,7 +196,7 @@ function Terminal.executeCommand(command)
|
|||
if command == nil or #command == 0 then return end
|
||||
|
||||
logLocked = true
|
||||
g_logger.log(LogInfo, '>> ' .. command)
|
||||
g_logger.log(LogInfo, '> ' .. command)
|
||||
logLocked = false
|
||||
|
||||
-- detect and convert commands with simple syntax
|
||||
|
@ -219,7 +219,7 @@ function Terminal.executeCommand(command)
|
|||
end
|
||||
|
||||
-- add command line
|
||||
Terminal.addLine(">> " .. command, "#ffffff")
|
||||
--Terminal.addLine(">> " .. command, "#ffffff")
|
||||
|
||||
-- load command buffer
|
||||
local func, err = loadstring(realCommand, "@")
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
TerminalLabel < UILabel
|
||||
font: terminus-14px-bold
|
||||
height: 16
|
||||
text-wrap: true
|
||||
text-auto-resize: true
|
||||
|
||||
|
@ -24,13 +23,13 @@ UIWindow
|
|||
|
||||
UILabel
|
||||
id: commandSymbolLabel
|
||||
size: 20 16
|
||||
size: 12 16
|
||||
fixed-size: true
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
margin-left: 2
|
||||
font: terminus-14px-bold
|
||||
text: >>
|
||||
text: >
|
||||
|
||||
UITextEdit
|
||||
id: commandTextEdit
|
||||
|
|
Loading…
Reference in New Issue