Hello everyone!
I've very recently switched to Zerobrane from Atom (for debugging purposes) which I really like so far!
However, one thing I really liked with Atom as that whenever I launched the game, I could have the command prompt window launched beside my love2d window.
I'm trying to achieve something similar in Zerobrane, sure I have the output window but I can only see my prints after I close down my application. Is there a setting I'm missing for command prompt? or can I achieve something similar with the Output window?
Thanks for your patience and I wish you all a nice weekend!
[SOLVED] Command prompt in Zerobrane
[SOLVED] Command prompt in Zerobrane
Last edited by nice on Thu Feb 21, 2019 7:42 am, edited 1 time in total.
Have a good day!
Re: [HELP] Command prompt in Zerobrane
Hello,
Try to add io.stdout:setvbuf("no") to your code. It works for me.
Try to add io.stdout:setvbuf("no") to your code. It works for me.
Re: [HELP] Command prompt in Zerobrane
You can do this with the console field in love.conf.
Code: Select all
--conf.lua
function love.conf(t)
t.console = true
end
Re: [HELP] Command prompt in Zerobrane
I love you, thanks!steVeRoll wrote: ↑Fri Feb 15, 2019 5:09 pm You can do this with the console field in love.conf.Code: Select all
--conf.lua function love.conf(t) t.console = true end
Have a good day!
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests