We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0
1 parent 1ac1594 commit d473e2fCopy full SHA for d473e2f
src/backends/text/text_backend.jl
@@ -166,7 +166,7 @@ function _text__print_table(
166
mc = 1
167
168
for j in eachindex(fixed_data_column_widths)
169
- aux += fixed_data_column_widths[j] < 0 ? 5 : fixed_data_column_widths[j]
+ aux += fixed_data_column_widths[j] <= 0 ? 5 : fixed_data_column_widths[j]
170
aux > display.size[2] && break
171
mc += 1
172
end
test/backends/text/line_breaks.jl
@@ -153,7 +153,7 @@ end
153
table;
154
auto_wrap = true,
155
column_labels = column_labels,
156
- fixed_data_column_widths = [-1, 30],
+ fixed_data_column_widths = [0, 30],
157
line_breaks = true,
158
table_format = TextTableFormat(; @text__all_horizontal_lines)
159
)
0 commit comments