terminal: fix run-terminal output
The run terminal is spawned on every editor workspace and only the last workspace gets the runner pty therefore only an secondary window will get stdout/stderr from running applications. This fix restricts the run-terminal to be only spawned on the primary workspace.
This fixes partly #1473 (closed)
Edited by Günther Wagner