Skip to content

Commit

Permalink
Merge commit '8c8feaaf75f8cd7edf2f4b903b4c418735acacfd'
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Oct 12, 2024
2 parents 5c4774c + 8c8feaa commit b90db8e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KirejeharbearkiqaHawhuleark
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KirejeharbearkiqaHawhulearkemhaikerewear.Desktop", "KirejeharbearkiqaHawhulearkemhaikerewear.Desktop\KirejeharbearkiqaHawhulearkemhaikerewear.Desktop.csproj", "{151C750F-0A29-4D44-B539-6946AD89A24A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SshCore", "SshCore\SshCore.csproj", "{409B4C1E-63DB-401E-998B-EF30EF325430}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SshCore", "SshCore\SshCore.csproj", "{409B4C1E-63DB-401E-998B-EF30EF325430}"
EndProject
Global
GlobalSection(ExtensibilityGlobals) = postSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,39 @@ internal class Program
{
static async Task Main(string[] args)
{
var currentLine = new StringBuilder();
bool isSendTab = false;

while (true)
{
var consoleKeyInfo = Console.ReadKey(true);

if (consoleKeyInfo.Key == ConsoleKey.Escape)
{
break;
}

if (consoleKeyInfo.Key == ConsoleKey.Tab)
{
isSendTab = true;
}
else if (consoleKeyInfo.Key == ConsoleKey.Backspace)
{
currentLine.Remove(currentLine.Length - 1, 1);
//Console.Write('\b');
//continue;
}
else
{
currentLine.Append(consoleKeyInfo.KeyChar);
}

Console.CursorLeft = 0;
Console.Write($"\r{currentLine.ToString()}");
//consoleKeyInfo.KeyChar
}


var file = @"c:\lindexi\CA\ssh.coin";
var fileConfigurationRepo = ConfigurationFactory.FromFile(file, RepoSyncingBehavior.Sync);
var appConfigurator = fileConfigurationRepo.CreateAppConfigurator();
Expand All @@ -39,6 +72,8 @@ static async Task Main(string[] args)
Console.WriteLine($"[SSH] {message}");
};



while (true)
{
var line = Console.ReadLine();
Expand Down

0 comments on commit b90db8e

Please sign in to comment.