Pretty_Tables自动换行配置不工作

不知道为什么,我的Pretty_Tables设置了自动换行,但是没有工作,有大佬知道这是什么原因吗?目前的Pretty_Tables版本为1.9

using JSON3  
using PrettyTables 

# 读取JSON文件内容
function showLogs(path)
    str = read(path, String)
    content = JSON3.read(str)
    return [Dict{String, Any}(string(key)=>val for (key, val) in obj) for obj in content]
end

function main()
    JSONDt = "problems_records.json"
    data = showLogs(JSONDt)
    pretty_table(data, tf=tf_simple, maximum_columns_width=30 , linebreaks = true , autowrap = true ; alignment=:l)

end

main()

显示出来的内容是这样的:

================================= ===================== =================================
  Column01                        Column02              Column03
================================= ===================== =================================
This line is enough long          2024-03-29 18:09:00   This line is not far enough l…
================================= ===================== =================================

明明已经配好了autowrap,但是不知道为什么还是会省略内容而不是自动换行

确实,建议到仓库提个 Issue 问问。另外,可以精简下你的示例:

using PrettyTables
rows = [
    Dict(
        "Column02" => "2024-03-29 18:09:00",
        "Column01" => "This line is long enough to exceed the maximum column width and trigger a line break",
        "Column03" => "This line, similarly, is long enough to trigger the automatic line breaking feature of PrettyTables.jl"
    )
]

# Display the table with options for automatic wrapping and line breaks
pretty_table(rows, 
             maximum_columns_width=25, 
             linebreaks=true, 
             autowrap=true, 
             alignment=:l)