feature: show command running time in logs window (#1253)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-29 16:36:05 +08:00
parent 825b74c2a3
commit 63803c9b88
No known key found for this signature in database
3 changed files with 95 additions and 7 deletions

View file

@ -18,6 +18,12 @@ namespace SourceGit.ViewModels
get;
} = DateTime.Now;
public DateTime EndTime
{
get;
private set;
} = DateTime.Now;
public bool IsComplete
{
get;
@ -64,6 +70,8 @@ namespace SourceGit.ViewModels
_builder.Clear();
_builder = null;
EndTime = DateTime.Now;
OnPropertyChanged(nameof(IsComplete));
if (_onNewLineReceived != null)