forked from felixse/FluentTerminal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Un-swap Ubuntu yellow and cyan (felixse#291) The build-in Ubuntu profile has the yellows and cyans swapped. This fixes that. * Add dark and light mode SVG icons for felixse#203 (felixse#290) * Ap/ssh Implemented SSH by using the exsting infrastructure (felixse#293) * Appveyor builds (felixse#6) * SSH implemented. * Implementing SSH by using the existing app infrastructure. * Refactored to new command instead of a profile * Update .gitignore * fix: new line bug in verbatim string (felixse#294) * Read whole terminal frame at once to avoid console data append glitches (felixse#299) * Read whole terminal frame at once to avoid console data append glitches * Simplify calculation logic with Math.Max * Move back referencing <None Include="FluentTerminal.App_TemporaryKey.pfx" /> since it's used during AppVeyor GitHub Releases deployment
- Loading branch information
Showing
17 changed files
with
691 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace FluentTerminal.App.Services.Dialogs | ||
{ | ||
public interface ISshConnectionInfo | ||
{ | ||
string Host { get; set; } | ||
|
||
ushort Port { get; set; } | ||
|
||
string Username { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
FluentTerminal.App.Services/Dialogs/ISshConnectionInfoDialog.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System.Threading.Tasks; | ||
|
||
namespace FluentTerminal.App.Services.Dialogs | ||
{ | ||
public interface ISshConnectionInfoDialog | ||
{ | ||
Task<ISshConnectionInfo> GetSshConnectionInfoAsync(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
FluentTerminal.App.ViewModels/SshConnectionInfoViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using FluentTerminal.App.Services.Dialogs; | ||
using GalaSoft.MvvmLight; | ||
|
||
namespace FluentTerminal.App.ViewModels | ||
{ | ||
public class SshConnectionInfoViewModel : ViewModelBase, ISshConnectionInfo | ||
{ | ||
private string _host = string.Empty; | ||
|
||
public string Host | ||
{ | ||
get => _host; | ||
set => Set(ref _host, value); | ||
} | ||
|
||
private ushort _port = 22; | ||
|
||
public ushort Port | ||
{ | ||
get => _port; | ||
set => Set(ref _port, value); | ||
} | ||
|
||
private string _username = string.Empty; | ||
|
||
public string Username | ||
{ | ||
get => _username; | ||
set => Set(ref _username, value); | ||
} | ||
} | ||
} |
Oops, something went wrong.