xrun -tcl <file_name.sv>
The above command should compile, elaborate, and stop simulation at 0 in command line mode.
At this point we can setup the breakpoints and perform other features of debugger.
So naturally to save time, I wish to use the previous commands by navigation keys. on pressing the navigation keys they are being translated to " ^[[A^[[D^[[C^[[B "
Strangely when i use xrun -gui <file_name.sv> the navigation keys are working in the gui console.