Register key bindings in the env with RunControl
This commit is contained in:
@@ -16,6 +16,10 @@ module Uh
|
||||
def evaluate code
|
||||
instance_eval code
|
||||
end
|
||||
|
||||
def key keysym, &block
|
||||
@env.keybinds[keysym] = block
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user