What is the problem?
I wonder how terminal (of the web app) handle the response of the firmware after sending a G-Code
What did you already try to solve it?
I try to check a complete call in order to analyse the full stack trace and try to understand how it works but I'm stuck. I saw that when I enter a command in the terminal this is the /api/printer/command function which is call but after that, how the response is handle by the terminal ? Is there a way to retrieve a firmware response via the API after attempting a POST request with /api/printer/command. (For example a M114 command)
Additional information about your setup
I'm currently running with the latest version of Octoprint. My printer is custom and runnig marlin firmware.