Console versus Terminal

Is it possible to code the terminal to appear in the console?

It’d be nice if there could be a button beside the autocomplete which just switches it to terminal. That is to say not opens the terminal externally but just diverges the window to display itself as terminal from within blender.

No idea how to go about it as usual.

There was a trick, which I have forgotten, and have tried to remember for years… There was a teensy little bit of python which did the trick, from within the blender console you could hook up stdin/stderr all funky and then you could interact with the running blender via the terminal that launched it. Normally this is a one way street where blender messages come out (stderr) but keystrokes (stdin) are ignored. All i can say is that yes it is possible but no I don’t know how.