terminal tweaks

This commit is contained in:
Eduardo Bart 2012-05-11 06:13:44 -03:00
parent f9bae92bff
commit e1fad92110
2 changed files with 4 additions and 5 deletions

View File

@ -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, "@")

View File

@ -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