You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
list<string> values are not shown if a string is too wide #7591
Display a list with a string that is around the same width as your terminal
Expected behavior
I expected at least part of each string to be shown somehow, perhaps truncated if necessary. And table -e should definitely expand each field, but it does not.
Screenshots
I appreciate that it's not always obvious when to hide information and when to show it, but let's use horizontal space better than this:
I wonder if it has something to do with the table settings. I get this
I'm not sure what the ... is for because the entire list is shown.
This is my table settings.
table: {
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
trim: { # A strategy of managing table view in case of limited space.
methodology: wrapping # truncating or wrapping
wrapping_try_keep_words: true
# A suffix which will be used with 'truncating' methodology
truncating_suffix: "…" # "⋯" "︙"
}
}
Activity
fdncred commentedon Dec 24, 2022
/cc @zhiburt
fdncred commentedon Dec 24, 2022
I wonder if it has something to do with the table settings. I get this

I'm not sure what the
...is for because the entire list is shown.This is my table settings.
rgwood commentedon Dec 24, 2022
I'm using the default
tablesettings:nushell/crates/nu-utils/src/sample_config/default_config.nu
Lines 311 to 319 in 3d682fe
Nearly the same as yours (your
truncating_suffixis a little different but I don't think that's the problem).fdncred commentedon Dec 24, 2022
I can also do the odd truncating thing with


table -eandtableadds the extra...column.Fix some issues with table wrapping of lists (#7598)