mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
rework key input handling, add more script events for UI and implement console history
This commit is contained in:
@@ -23,14 +23,9 @@ RectPanel
|
||||
text: >>
|
||||
|
||||
UILineEdit
|
||||
id: commandBox
|
||||
id: commandLineEdit
|
||||
height: 16
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: commandSymbolLabel.right
|
||||
anchors.right: parent.right
|
||||
font: terminus-14px-bold
|
||||
onAction: |
|
||||
function(self)
|
||||
Console.executeCommand(self:getText())
|
||||
self:clearText()
|
||||
end
|
||||
|
Reference in New Issue
Block a user