1
0
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:
kepler155c@gmail.com
2017-10-15 19:55:05 -04:00
parent 9b8b5238b0
commit 2721840596
6 changed files with 286 additions and 197 deletions

View File

@@ -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')