lib/textbringer/commands/misc.rb in textbringer-1.2.0 vs lib/textbringer/commands/misc.rb in textbringer-1.3.0

- old
+ new

@@ -30,10 +30,10 @@ Controller.current.this_command = cmd send(cmd) end define_command(:eval_expression) do - |s = read_from_minibuffer("Eval: ")| + |s = read_expression("Eval: ")| result = eval(s, TOPLEVEL_BINDING, "(eval_expression)", 1) message(result.inspect) result end