bin/i2cssh in i2cssh-0.0.8 vs bin/i2cssh in i2cssh-0.0.9
- old
+ new
@@ -92,10 +92,10 @@
(rows * columns).times do |i|
if servers && servers[i] then
term.sessions[i+1].write(:text => "history -d $(($HISTCMD-1)) && #{ssh_prefix}#{servers[i]}")
else
term.sessions[i+1].foreground_color.set("red")
- term.sessions[i+1].write(:text => "history -d $(($HISTCMD-1)) && echo -e '#{"\n"*100}UNUSED'")
+ term.sessions[i+1].write(:text => "history -d $(($HISTCMD-1)) && echo -e '#{"\n"*100}UNUSED' && cat > /dev/null")
end
end
if options[:debug] then
require 'ripl'
Ripl.start :binding => binding