mirror of
https://github.com/kepler155c/opus
synced 2025-10-24 12:17:40 +00:00
redo input translation + shift-paste
This commit is contained in:
@@ -3,7 +3,6 @@ _G.requireInjector()
|
||||
local Terminal = require('terminal')
|
||||
local Util = require('util')
|
||||
|
||||
local keys = _G.keys
|
||||
local multishell = _ENV.multishell
|
||||
local os = _G.os
|
||||
local term = _G.term
|
||||
@@ -26,7 +25,7 @@ end
|
||||
print('Debug started')
|
||||
print('Press ^d to activate debug window')
|
||||
|
||||
multishell.addHotkey(keys.d, function()
|
||||
multishell.addHotkey('control-d', function()
|
||||
local currentId = multishell.getFocus()
|
||||
if currentId ~= tabId then
|
||||
previousId = currentId
|
||||
@@ -41,4 +40,4 @@ os.pullEventRaw('terminate')
|
||||
print('Debug stopped')
|
||||
|
||||
_G.debug = function() end
|
||||
multishell.removeHotkey(keys.d)
|
||||
multishell.removeHotkey('control-d')
|
||||
|
||||
Reference in New Issue
Block a user