From 4d1093b50b6c89ed81db3ceb1604fac3ff974092 Mon Sep 17 00:00:00 2001 From: aaron-jack-manning Date: Sun, 21 Aug 2022 15:31:27 +1000 Subject: [PATCH] table formatting fix --- src/tasks.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tasks.rs b/src/tasks.rs index b82d93f..9844650 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -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"]);