lib/sup/modes/text-mode.rb in sup-0.9.1 vs lib/sup/modes/text-mode.rb in sup-0.10
- old
+ new
@@ -27,10 +27,10 @@
output = pipe_to_process(command) do |stream|
@text.each { |l| stream.puts l }
end
if output
- BufferManager.spawn "Output of '#{command}'", TextMode.new(output)
+ BufferManager.spawn "Output of '#{command}'", TextMode.new(output.ascii)
else
BufferManager.flash "'#{command}' done!"
end
end