change: Rename 'Index' to 'Id' in pueue status

This commit is contained in:
Arne Beer 2021-07-29 20:14:02 +02:00
parent aad073201e
commit 1da73e71a4
No known key found for this signature in database
GPG key ID: CC9408F679023B65
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,7 @@ I want this project to move forward.
- Use tokio's async runtime and set a hardcoded limit of 4 worker threads, which is already more than enough.
- Add a debug message, when using `pueue wait` or `pueue wait -g some_group`, but there're no tasks in the group.
- Reworked shutdown, restoration and cleanup logic.
- Rename `Index` to `Id` in `pueue status` to free up screen space.
### Datastructures

View file

@ -136,7 +136,7 @@ fn print_table(tasks: &BTreeMap<usize, Task>, colors: &Colors, settings: &Settin
let (has_delayed_tasks, has_dependencies, has_labels) = has_special_columns(tasks);
// Create table header row
let mut headers = vec![Cell::new("Index"), Cell::new("Status")];
let mut headers = vec![Cell::new("Id"), Cell::new("Status")];
if has_delayed_tasks {
headers.push(Cell::new("Enqueue At"));
}