Did you know ... Search Documentation:
Predicate enable_line_editing/3
 enable_line_editing(+In, +Out, +Err) is det[private]
Enable line editing for the console. This is by built-in for the Windows console. We can also provide it for the X11 xterm(1) based console if we use the BSD libedit based command line editor.