lib/termup/handler.rb in termup-2.0.2 vs lib/termup/handler.rb in termup-2.0.3

- old
+ new

@@ -73,10 +73,10 @@ @term_pid end def term_like_pids - @term_like_pids ||= `ps x | grep Term`.split("\n").reject{|i| i =~ /grep/ }.map{|i| i.match(/^\d+/).to_s.to_i } + @term_like_pids ||= `ps x | grep Term`.split("\n").reject{|i| i =~ /grep/ }.map{|i| i.match(/\d+/).to_s.to_i } end def layout(command) if iterm? case command.to_sym