Corona SDK Simulator Console Delay?

I’m having a steady 1-2 second delay for console output, anyway to fix this? thanx  :smiley:

Hi @austin.rau18,

By default, Corona has buffering turned on for the output for Simulator performance reasons. You might find that adding the following line to the top of your main.lua improves the delay you’re seeing:

[lua]

io.output():setvbuf( “no” )

[/lua]

Take care,

Brent

Yeah this didn’t work sorry, When I use the ZeroBraneStudio IDE theres no delay, but I like the look of sublime.  :slight_smile:

I can confirm that there is a one second delay to the console (using the Corona Simulator) in build 2015.2045.

NOTE: Using the Corona Terminal is instant so I’ll be using the Terminal (for now).

Hi @austin.rau18,

By default, Corona has buffering turned on for the output for Simulator performance reasons. You might find that adding the following line to the top of your main.lua improves the delay you’re seeing:

[lua]

io.output():setvbuf( “no” )

[/lua]

Take care,

Brent

Yeah this didn’t work sorry, When I use the ZeroBraneStudio IDE theres no delay, but I like the look of sublime.  :slight_smile:

I can confirm that there is a one second delay to the console (using the Corona Simulator) in build 2015.2045.

NOTE: Using the Corona Terminal is instant so I’ll be using the Terminal (for now).