This commit is contained in:
2022-01-20 13:36:25 +01:00
parent c2e64226a0
commit 6b1dc6724f
5 changed files with 52 additions and 20 deletions

View File

@@ -88,7 +88,7 @@ namespace FileTime.ConsoleUI.App
new CommandBinding("open", Commands.Open, new[] { new ConsoleKeyInfo('→', ConsoleKey.RightArrow, false, false, false) }, Open),
new CommandBinding(
"go to top",
Commands.GoToTop,
Commands.MoveToTop,
new[]
{
new ConsoleKeyInfo('g', ConsoleKey.G, false, false, false),
@@ -97,7 +97,7 @@ namespace FileTime.ConsoleUI.App
MoveCursorToTop),
new CommandBinding(
"go to bottom",
Commands.GoToBottom,
Commands.MoveToBottom,
new[]
{
new ConsoleKeyInfo('G', ConsoleKey.G, true, false, false)
@@ -194,7 +194,7 @@ namespace FileTime.ConsoleUI.App
var key = keyinfo.Key;
_previousKeys.Add(keyinfo);
CommandBinding? selectedCommandBinding = _commandBindings.Find(c => AreKeysEqual(c.Keys, _previousKeys));
var selectedCommandBinding = _commandBindings.Find(c => AreKeysEqual(c.Keys, _previousKeys));
if (keyinfo.Key == ConsoleKey.Escape)
{