Skip to content

Commit

Permalink
terminal delay
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 16, 2024
1 parent 860cc03 commit f09dc14
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/OneWare.Terminal/ViewModels/TerminalViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,11 @@ public void CreateConnection()

_ = Dispatcher.UIThread.InvokeAsync(async () =>
{
await Task.Delay(100);

Connection.Connect();

await Task.Delay(100);

TerminalVisible = true;
Connection.Connect();

await Task.Delay(500);

TerminalLoading = false;

TerminalReady?.Invoke(this, EventArgs.Empty);
Expand Down

0 comments on commit f09dc14

Please sign in to comment.