mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature: show command running time in logs window (#1253)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
825b74c2a3
commit
63803c9b88
3 changed files with 95 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue