fix: Resolve compilation errors and warnings
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -199,15 +199,18 @@ pub fn create_table_with_config(table_config: &crate::config::TableConfig) -> Ta
|
||||
table.load_preset(comfy_table::presets::NOTHING);
|
||||
}
|
||||
// Add more presets as needed
|
||||
table
|
||||
}
|
||||
}
|
||||
|
||||
// Apply modifiers
|
||||
for modifier in &table_config.modifiers {
|
||||
match modifier.as_str() {
|
||||
"UTF8_SOLID_INNER_BORDERS" => table.apply_modifier(comfy_table::modifiers::UTF8_SOLID_INNER_BORDERS),
|
||||
"UTF8_ROUND_CORNERS" => table.apply_modifier(comfy_table::modifiers::UTF8_ROUND_CORNERS),
|
||||
"UTF8_SOLID_INNER_BORDERS" => {
|
||||
table.apply_modifier(comfy_table::modifiers::UTF8_SOLID_INNER_BORDERS);
|
||||
}
|
||||
"UTF8_ROUND_CORNERS" => {
|
||||
table.apply_modifier(comfy_table::modifiers::UTF8_ROUND_CORNERS);
|
||||
}
|
||||
_ => {} // Ignore unknown modifiers
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user