On Sat, Mar 05, 2016 at 06:02:19PM +0100, Jakob Eriksson wrote:
> A shotgun approach would be to create a screen editor of sorts,
> with a repl in it. That is probably overkill.

Indeed. It would be totally against the PicoLisp way.

Of course you could simply call the readline() library via 'native', or
at least use 'ncurses', but the problem with these approaches is that
their sizes are in the range of the whole PicoLisp interpreter.

And why re-invent what the terminal is already doing anyway?

So the REPL line editor is implemented with backspace-only, and thus
doesn't need to know the terminal type, number of columns, or other
platform specific stuff. Nice! :)


So my only question was and is: Why do some terminals behave this or
that way, and is that behavior configurable? (If not, no worry, the
problem is only with long lines)

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to