table formatting fix

This commit is contained in:
aaron-jack-manning 2022-08-21 15:31:27 +10:00
parent 2b550631a2
commit 4d1093b50b

View File

@ -262,7 +262,8 @@ pub fn list(vault_folder : &path::Path) -> Result<(), error::Error> {
table
.load_preset(comfy_table::presets::UTF8_FULL)
.apply_modifier(comfy_table::modifiers::UTF8_ROUND_CORNERS);
.apply_modifier(comfy_table::modifiers::UTF8_ROUND_CORNERS)
.set_content_arrangement(comfy_table::ContentArrangement::Dynamic);
table.set_header(vec!["Id", "Name", "Tags", "Priority"]);