Enable REPL mode input history
Created by: Veratil
Currently when in REPL mode you cannot press UP to repeat your previously entered line. This requires you to either copy/paste with a mouse or retype the entire thing.
I have looked at src/core/repl.lua and noticed it's hardcoded io.stdin:read(). Since the readline (readline-devel) package is already required, it would be useful to exploit this for REPL mode if we can.