diff --git a/ui (gen4)/lib/keyboard.js b/ui (gen4)/lib/keyboard.js index 5151deb6..74500377 100755 --- a/ui (gen4)/lib/keyboard.js +++ b/ui (gen4)/lib/keyboard.js @@ -781,10 +781,10 @@ var KeyboardPrototype = { handler = modifiers .filter(function(m){ - console.log('>>>>', handler) - return handler.indexOf(m) < 0 - && seen.indexOf(m+handler) < 0 - && m+handler in bindings }) + return handler instanceof Function + || (handler.indexOf(m) < 0 + && seen.indexOf(m+handler) < 0 + && m+handler in bindings) }) .map(function(m){ return m+handler })[0] || handler diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index f24698ef..c05daeb6 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -1592,13 +1592,17 @@ var BrowserPrototype = { '#8': 'push!: "7!"', '#9': 'push!: "8!"', '#0': 'push!: "9!"', + + // handlers for standard shortcuts... + ctrl_C: function(){ console.log('!!!!!') }, + + }, ItemShortcuts: { doc: 'Item shortcuts', pattern: '*', - }, },