lib/textbringer/commands/buffers.rb in textbringer-0.2.1 vs lib/textbringer/commands/buffers.rb in textbringer-0.2.2

- old
+ new

@@ -169,10 +169,10 @@ end define_command(:quoted_insert, doc: "Read a character, and insert it.") do |n = number_prefix_arg| - c = Controller.current.read_char + c = Controller.current.read_event if !c.is_a?(String) raise EditorError, "Invalid key" end Buffer.current.insert(c * n) end