From c4a3c54ff3fbbffd29c694c673cd64a5da67b782 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 8 Sep 2025 18:02:23 -0300 Subject: [PATCH] refactor: Update comfy-table to 7.2.0 and adapt API changes Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) --- Cargo.toml | 2 +- src/modes/status.rs | 27 +++++++++++++++------------ src/modes/status_plugins.rs | 3 ++- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 15b8f24..616776f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ lz4_flex = "0.11.1" magic = "0.13.0" nix = "0.30.1" once_cell = "1.19.0" -comfy-table = "0.3.1" +comfy-table = "7.2.0" pwhash = "1.0.0" regex = "1.9.5" ringbuf = "0.3" diff --git a/src/modes/status.rs b/src/modes/status.rs index 86a3179..090fbbb 100644 --- a/src/modes/status.rs +++ b/src/modes/status.rs @@ -12,6 +12,7 @@ use serde_yaml; use comfy_table::{Table, ContentArrangement, Cell, Color}; use comfy_table::presets::UTF8_FULL; use comfy_table::modifiers::UTF8_ROUND_CORNERS; +use comfy_table::TableComponent; use crate::common::status::PathInfo; use crate::meta_plugin::MetaPluginType; @@ -83,16 +84,18 @@ fn build_meta_plugins_configured_table(status_info: &StatusInfo) -> Option Option