mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Version 2.1 - imbuements, wrap/unwrap, 4 byte header, packet compression and other features
This commit is contained in:
@@ -141,6 +141,7 @@ function init()
|
||||
terminalWindow.onDoubleClick = popWindow
|
||||
|
||||
terminalButton = modules.client_topmenu.addLeftButton('terminalButton', tr('Terminal') .. ' (Ctrl + T)', '/images/topbuttons/terminal', toggle)
|
||||
terminalButton:setOn(false)
|
||||
g_keyboard.bindKeyDown('Ctrl+T', toggle)
|
||||
|
||||
commandHistory = g_settings.getList('terminal-history')
|
||||
@@ -197,7 +198,7 @@ function terminate()
|
||||
g_keyboard.unbindKeyDown('Ctrl+T')
|
||||
g_logger.setOnLog(nil)
|
||||
terminalWindow:destroy()
|
||||
--terminalButton:destroy()
|
||||
terminalButton:destroy()
|
||||
commandEnv = nil
|
||||
_G.terminalLines = allLines
|
||||
end
|
||||
|
Reference in New Issue
Block a user