-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
I'm trying to use Terminus with Origami to create a build system for Python3. And it almost works correctly.
When I have lets say 3 files opened in the tabs of the main pane - file1.py, file2.py, file3.py with a file1.py being in "focus" and I initiate the build Origami creates new pane, moves the terminus output to it.... but as a result focus on the main pane switches from file1.py to file2.py (basically next to the right).
Is there a way to prevent this, so on the main pane I'll have the same file in focus?
Here's how I set up the build system:
{
"target": "terminus_open",
"auto_close": false,
"title": "Python Output",
"timeit": true,
"post_window_hooks": [
["carry_file_to_pane", {"direction": "right"}]
],
"shell_cmd": "python3 -OO -u \"$file\"",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python.3",
"windows":
{
"shell_cmd": "py -3 -OO -u \"$file\""
}
}Q3C273
Metadata
Metadata
Assignees
Labels
No labels