There's also the option of using an optional third party library like
https://github.com/antirez/linenoise

On Sat, Mar 5, 2016 at 9:02 AM, Jakob Eriksson <ja...@aurorasystems.eu>
wrote:

> A shotgun approach would be to create a screen editor of sorts,
> with a repl in it. That is probably overkill.
>
>
>
> On 05/03/16 16:18, Alexander Burger wrote:
> > Hi all,
> >
> > since early versions of PicoLisp I have a problem with the behavior of
> > terminals.
> >
> > It concerns the REPL line editor in debug mode, the way how a backspace
> > behaves across a wrapped line.
> >
> >
> > To move backwards in the line, the line editor sends a Ctrl-H to the
> > terminal. This happens not only explicitly (e.g. when the user types 'h'
> > in vi-mode), but also implicitly when the line is refreshed.
> >
> > The problem arises when the line gets longer than the number of columns

Reply via email to