Fixed exception when TabCompletion tries to complete a string longer than the Console.BufferWidth.