debug.debug command history?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
parallax7d
Citizen
Posts: 82
Joined: Wed Jul 02, 2014 11:44 pm

debug.debug command history?

Post by parallax7d »

I love debugging love code in real time using debug.debug and the terminal. But when I press the up arrow key to repeat the last command, it just prints ^[[A.

I'm using the latest love binary on mac os 10.6.8. I have darwin10-gcc-4.2.1 installed, but I'm not very skilled at building. Would anyone know how I could build love so that my debug console has a command history?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: debug.debug command history?

Post by bartbes »

You could probably use an external utility like rlwrap.
User avatar
parallax7d
Citizen
Posts: 82
Joined: Wed Jul 02, 2014 11:44 pm

Re: debug.debug command history?

Post by parallax7d »

thanks, I gave it a try. It does add a command history, which is really cool. :awesome: I have to use it in −−always−readline mode though or it causes all sorts of bugs in the interactive prompt.

What sort of cool things do you do with rlwrap? It's all new to me, and I don't quite get the filters thing.
Post Reply

Who is online

Users browsing this forum: Vixii and 181 guests