bin/i2cssh in i2cssh-0.0.5 vs bin/i2cssh in i2cssh-0.0.6

- old
+ new

@@ -87,10 +87,15 @@ sys_events.key_code(124, :using => [:command_down, :option_down]) unless (columns - 1) == x end end (rows * columns).times do |i| - term.sessions[i+1].write(:text => "#{ssh_prefix}#{servers[i]}") if servers && servers[i] + if servers && servers[i] then + term.sessions[i+1].write(:text => "#{ssh_prefix}#{servers[i]}") + else + term.sessions[i+1].foreground_color.set("red") + term.sessions[i+1].write(:text => "echo -e '#{"\n"*100}UNUSED'") + end end if options[:debug] then require 'ripl' Ripl.start :binding => binding end