In Linux/OSX that would be readline; not sure what it is in Windows. I was under the impression that readline support was included with some murgaLua versions, but not in others...I might be hallucinating, though.
When using the murgaLua shell, I often will use it with rlwrap as a wrapper, which provides pretty much the same behavior (though it occasionally hiccups).