mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
fix some keyboard issues, chat tab, fix loadScript exception
This commit is contained in:
@@ -23,7 +23,7 @@ local consoleBuffer
|
||||
local consoleTabBar
|
||||
local defaultChannelTab
|
||||
local serverLogTab
|
||||
local current
|
||||
local currentTab
|
||||
|
||||
-- public functions
|
||||
function Console.create()
|
||||
@@ -33,6 +33,9 @@ function Console.create()
|
||||
consoleTabBar:setContentWidget(consoleBuffer)
|
||||
defaultChannelTab = consoleTabBar:addTab('Default')
|
||||
serverLogTab = consoleTabBar:addTab('Server Log')
|
||||
|
||||
Hotkeys.bind('Tab', function() consoleTabBar:selectNextTab() end, consolePanel)
|
||||
Hotkeys.bind('Shift+Tab', function() consoleTabBar:selectPrevTab() end, consolePanel)
|
||||
end
|
||||
|
||||
function Console.destroy()
|
||||
|
Reference in New Issue
Block a user