console::readline() doesn't currently support left/right arrow to edit the line, which make it quite inconvenient to use.
Adding this feature should not be too complicated, given readline_advanced already made to handle some keystrokes.
This can be quite an useful addition to #17824