public void Handle(RichCommandLineContext context)
{
if(context.KeyPressed.Key == ConsoleKey.UpArrow)
{
HandleUpArrow(context);
}
else if(context.KeyPressed.Key == ConsoleKey.DownArrow)
{
HandleDownArrow(context);
}
else if(context.KeyPressed.Key == ConsoleKey.LeftArrow)
{
HandleLeftArrow(context);
}
else if(context.KeyPressed.Key == ConsoleKey.RightArrow)
{
HandleRightArrow(context);
}
}