diff --git a/PSReadLine/Movement.cs b/PSReadLine/Movement.cs index da52230e..f0a21773 100644 --- a/PSReadLine/Movement.cs +++ b/PSReadLine/Movement.cs @@ -266,6 +266,12 @@ public static void NextWord(ConsoleKeyInfo? key = null, object arg = null) return; } + if (_singleton._current == _singleton._buffer.Length && numericArg > 0) + { + AcceptNextSuggestionWord(numericArg); + return; + } + if (numericArg < 0) { BackwardWord(key, -numericArg);