lib/textbringer/utils.rb in textbringer-1.0.1 vs lib/textbringer/utils.rb in textbringer-1.0.2

- old
+ new

@@ -236,10 +236,10 @@ message("Please answer yes or no.", sit_for: 2) end } end - Y_OR_N_MAP = Keymap.new + define_keymap :Y_OR_N_MAP Y_OR_N_MAP.define_key(?y, :self_insert_and_exit_minibuffer) Y_OR_N_MAP.define_key(?n, :self_insert_and_exit_minibuffer) Y_OR_N_MAP.define_key(?\C-g, :abort_recursive_edit) Y_OR_N_MAP.handle_undefined_key do |key| :exit_recursive_edit