diff --git a/tgcli/tgcli.cs b/tgcli/tgcli.cs index 3a68814..d19e0bf 100644 --- a/tgcli/tgcli.cs +++ b/tgcli/tgcli.cs @@ -250,6 +250,7 @@ namespace tgcli { // currentInputLine = currentInputLine.Remove(currentInputLine.Length - 1); ScreenUpdate(); break; + case ConsoleKey.B when key.Modifiers.HasFlag(ConsoleModifiers.Alt): case ConsoleKey.LeftArrow when key.Modifiers.HasFlag(ConsoleModifiers.Alt): if (currentInputPos == 0) break; @@ -261,6 +262,7 @@ namespace tgcli { currentInputPos = lastIndex; ScreenUpdate(); break; + case ConsoleKey.F when key.Modifiers.HasFlag(ConsoleModifiers.Alt): case ConsoleKey.RightArrow when key.Modifiers.HasFlag(ConsoleModifiers.Alt): if (currentInputPos >= currentInputLine.Length) break;