Show task summary in its terminal after it stops running (#10615)
Based on https://github.com/alacritty/alacritty/issues/7795 Unknown error code commands (now includes the interrupted ones):  Successful command:  Unsuccessful command:  The "design", including wordings and special characters, is not final, suggestions are welcome. The main idea was to somehow distinguish the appended lines without occupying extra vertical space. Release Notes: - Added task summary output into corresponding terminal tabs
This commit is contained in:
parent
4eb1e65fbb
commit
be2bf98529
2 changed files with 102 additions and 11 deletions
|
@ -55,6 +55,14 @@ impl Project {
|
|||
id: spawn_task.id,
|
||||
full_label: spawn_task.full_label,
|
||||
label: spawn_task.label,
|
||||
command_label: spawn_task.args.iter().fold(
|
||||
spawn_task.command.clone(),
|
||||
|mut command_label, new_arg| {
|
||||
command_label.push(' ');
|
||||
command_label.push_str(new_arg);
|
||||
command_label
|
||||
},
|
||||
),
|
||||
status: TaskStatus::Running,
|
||||
completion_rx,
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue