Sublime Forum

Terminus creates multiple output windows when re-buiding

#1

I just came across the Terminus package and found it very useful. However, every time I re-build, it gives another separate output window (see the following screenshot, I got three output windows called “Python Output” because I re-built three times). I was wondering how to prevent Terminus from creating multiple output windows when re-building. Also, is it possible to put the output window in a separate sublime instance so that I can put the output window on my second monitor?

Thank you. Your help is much appreciated.

0 Likes

#2

What does your sublime-build look like?

0 Likes

#3

Oh, my bad, I forgot to post my build info. Here is my sublime-build:

{
	"target": "terminus_open",
	"auto_close": false,
	"title": "Python Output",
	"timeit": true,
	"post_window_hooks": [
		["carry_file_to_pane", {"direction": "right"}]
	],
	"cmd": ["my_python_path.exe", "-u", "$file"],
	"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
	"selector": "source.python"
}
0 Likes

#4

The following video might help (it’s cue’d up right to what your problem may be).

That said, your build says it’s trying to carry the pane to the right, but your screenshot doesn’t show a bunch of groups (which is the symptom you will see in the video). If that’s not a problem for you, the plugin that’s shown there that will close the existing Terminus tab before opening a new one should do what you want (without having to have the part that saves and restores the focus, which is only needed if you’re using a split layout).

0 Likes