lib/guard/interactors/readline.rb in guard-0.10.0 vs lib/guard/interactors/readline.rb in guard-1.0.0

- old
+ new

@@ -96,15 +96,15 @@ # Stores the terminal settings so we can resore them # when stopping. # def store_terminal_settings - @stty_save = `stty -g`.chomp + @stty_save = `stty -g 2>/dev/null`.chomp end # Restore terminal settings # def restore_terminal_settings - system('stty', @stty_save) + system('stty', @stty_save, '2>/dev/null') end end end