mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
new shortcuts
* Ctrl+Q logout from game * Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report * Ctrl+A clean the chat text box * Ctrl+F toggles fullscreen mode
This commit is contained in:
@@ -202,6 +202,7 @@ function Console.init()
|
||||
Keyboard.bindKeyPress('Tab', function() consoleTabBar:selectNextTab() end, consolePanel)
|
||||
Keyboard.bindKeyPress('Shift+Tab', function() consoleTabBar:selectPrevTab() end, consolePanel)
|
||||
Keyboard.bindKeyDown('Enter', Console.sendCurrentMessage, consolePanel)
|
||||
Keyboard.bindKeyPress('Ctrl+A', function() consoleTextEdit:clearText() end, consolePanel)
|
||||
|
||||
-- apply buttom functions after loaded
|
||||
consolePanel:getChildById('nextChannelButton').onClick = function() consoleTabBar:selectNextTab() end
|
||||
|
Reference in New Issue
Block a user