feat: update default list format to match new configuration
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -204,33 +204,45 @@ impl Settings {
|
|||||||
settings.list_format = vec![
|
settings.list_format = vec![
|
||||||
ColumnConfig {
|
ColumnConfig {
|
||||||
name: "id".to_string(),
|
name: "id".to_string(),
|
||||||
label: "id".to_string(),
|
label: "Item".to_string(),
|
||||||
align: ColumnAlignment::Left,
|
align: ColumnAlignment::Right,
|
||||||
max_len: Some("8".to_string()),
|
max_len: None,
|
||||||
},
|
},
|
||||||
ColumnConfig {
|
ColumnConfig {
|
||||||
name: "time".to_string(),
|
name: "time".to_string(),
|
||||||
label: "time".to_string(),
|
label: "Time".to_string(),
|
||||||
align: ColumnAlignment::Left,
|
align: ColumnAlignment::Right,
|
||||||
max_len: Some("19".to_string()),
|
max_len: None,
|
||||||
},
|
},
|
||||||
ColumnConfig {
|
ColumnConfig {
|
||||||
name: "size".to_string(),
|
name: "size".to_string(),
|
||||||
label: "size".to_string(),
|
label: "Size".to_string(),
|
||||||
align: ColumnAlignment::Left,
|
align: ColumnAlignment::Right,
|
||||||
max_len: Some("10".to_string()),
|
max_len: None,
|
||||||
|
},
|
||||||
|
ColumnConfig {
|
||||||
|
name: "meta:text_line_count".to_string(),
|
||||||
|
label: "Lines".to_string(),
|
||||||
|
align: ColumnAlignment::Right,
|
||||||
|
max_len: None,
|
||||||
},
|
},
|
||||||
ColumnConfig {
|
ColumnConfig {
|
||||||
name: "tags".to_string(),
|
name: "tags".to_string(),
|
||||||
label: "tags".to_string(),
|
label: "Tags".to_string(),
|
||||||
align: ColumnAlignment::Left,
|
align: ColumnAlignment::Left,
|
||||||
max_len: Some("20".to_string()),
|
max_len: Some("40".to_string()),
|
||||||
},
|
},
|
||||||
ColumnConfig {
|
ColumnConfig {
|
||||||
name: "meta:hostname".to_string(),
|
name: "meta:hostname_short".to_string(),
|
||||||
label: "hostname".to_string(),
|
label: "Host".to_string(),
|
||||||
align: ColumnAlignment::Left,
|
align: ColumnAlignment::Left,
|
||||||
max_len: Some("15".to_string()),
|
max_len: Some("28".to_string()),
|
||||||
|
},
|
||||||
|
ColumnConfig {
|
||||||
|
name: "meta:command".to_string(),
|
||||||
|
label: "Command".to_string(),
|
||||||
|
align: ColumnAlignment::Left,
|
||||||
|
max_len: Some("100".to_string()),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user