flush lua print output