[Plugin Idea] multiline terminal input

Suggestion: please change terminal input to multiline edit box and let me send multiple gcode commands simultaneously. When debugging weird behavior in my printer or printer startup gcode, I'd like to copy and paste text from my text editor into the terminal input. I find it very difficult to copy and paste each line one at a time.

If your firmware supports separating commands with a colon, you might try adding one at the end of each line and then concatenating them.

Thanks for posting @moof I saw your post in discord and thought it was a good idea too. It would be fairly easy to do as well. Let me see what I can do...

Ok, was a little trickier than I anticipated to get the styling to look right, but it's fairly close. You can test it out by installing using the following URL in plugin manager.

https://github.com/jneilliii/OctoPrint-MultiLineTerminal/archive/master.zip

1 Like

It took me a while to test this because my printer broke last week, and I finally received the parts last night. I also upgraded my pi2 to a pi4. The OctoPrint-MultiLineTerminal plugin works perfectly on my setup. Thank you very much.

I am an experienced computer engineer. I haven't even tried to find OctoPrint documentation. Please point me to the documentation for writing Octoprint plugins. I've had some ideas and want to try them out.

OctoPrint version : 1.4.0
OctoPi version : 0.17.0

Thank you.

https://docs.octoprint.org/