lib/textbringer/commands/misc.rb in textbringer-0.2.2 vs lib/textbringer/commands/misc.rb in textbringer-0.2.3
- old
+ new
@@ -14,10 +14,10 @@
exit(status)
end
define_command(:suspend_textbringer) do
Curses.close_screen
- Process.kill(:STOP, $$)
+ Process.kill(:STOP, 0)
end
define_command(:execute_command) do
|cmd = read_command_name("M-x ").strip.intern|
unless Commands.list.include?(cmd)