lib/gzr/commands/space/ls.rb in gazer-0.2.44 vs lib/gzr/commands/space/ls.rb in gazer-0.2.46
- old
+ new
@@ -99,10 +99,10 @@
end
begin
if @options[:csv] then
output.puts render_csv(table)
else
- output.puts table.render(if @options[:plain] then :basic else :ascii end, alignments: alignments)
+ output.puts table.render(if @options[:plain] then :basic else :ascii end, alignments: alignments, width: @options[:width] || TTY::Screen.width)
end
end if table
end
end
end