feat: add max_len support to ColumnConfig and default list format

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-25 22:01:29 -03:00
parent 2cfa06a45b
commit 4ea1f248a7
2 changed files with 36 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ pub fn mode_list(
.unwrap_or_else(|_| panic!("Unknown column {:?}", column.name));
let mut meta_name: Option<&str> = None;
let column_width = 0; // We're not supporting width in the new format
let column_width = column.max_len.unwrap_or(0);
if let ColumnType::Meta = column_type {
let parts: Vec<&str> = column.name.split(':').collect();