I want my Juce application to be able to start in console mode or GUI mode. For this I want to start a simple REPL if the user passes a command line flag like “-console”. This is because the application supports Lua scripting and I want the user to have access to only the Lua console when in pure console mode(the main window is not created)
I am able to pass the command line flag but unable to implement the REPL with std::cin and std::cout as they dont work. How do I do this?
I love Juce for everything else. Thanks!