pixie-lang / pixie

A small, fast, native lisp with "magical" powers
GNU General Public License v3.0
2.35k stars 124 forks source link

REPL up arrow support for last entry #205

Closed gigasquid closed 9 years ago

gigasquid commented 9 years ago

When playing around in the REPL, I find it would be nice to hit the up arrow to repeat the line of whatever I last put in.

Thoughts about implementing? Fixed buffer of lines remembered?

heyLu commented 9 years ago

You can do that by using rlwrap: rlwrap -a pixie-vm.

dust repl also uses rlwrap if you have it installed. (And because dust repl also works outside of projects I often use it for that. :))

gigasquid commented 9 years ago

Nice! Thanks. My life has been improved :)