Set cursor at end in console while navigating with up/down key

Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
Merge remote-tracking branch 'nisargjhaveri/console_focus_end'