Open hovsater opened 2 years ago
Same, but on Windows.
The build system with the default config works. Also I can open Terminus in a tab. But just adding
"target": "terminus_exec",
"cancel": "terminus_cancel_build",
to the build system config and running the build, throws
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 1488, in run_
return self.run(edit, **args)
File "C:\Users\grego\AppData\Roaming\Sublime Text 3\Installed Packages\Terminus.sublime-package\terminus/commands.py", line 523, in run
File "C:\Users\grego\AppData\Roaming\Sublime Text 3\Installed Packages\Terminus.sublime-package\terminus/terminal.py", line 74, in cull_terminals
File "C:\Users\grego\AppData\Roaming\Sublime Text 3\Installed Packages\Terminus.sublime-package\terminus/terminal.py", line 244, in kill
AttributeError: 'Terminal' object has no attribute 'process'
Same here, can open Terminus tab, build fails. macOS 12.6, Sublime Build 4126.
My config in .sublime-project file (works as expected with "target" and "cancel" commented out):
"build_systems":
[
{
"name": "Clang single file color",
"working_dir": "${project_path}",
"cmd": ["clang", "-fdiagnostics-color=always", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
// "quiet": true,
"target": "terminus_exec",
"cancel": "terminus_cancel_build",
}
]
Console output on build:
kill
Traceback (most recent call last):
File "/Users/toms/Library/Application Support/Sublime Text/Installed Packages/Terminus.sublime-package/terminus/commands.py", line 29, in <lambda>
File "/Users/toms/Library/Application Support/Sublime Text/Installed Packages/Terminus.sublime-package/terminus/commands.py", line 192, in run_async
File "/Users/toms/Library/Application Support/Sublime Text/Installed Packages/Terminus.sublime-package/terminus/terminal.py", line 244, in kill
AttributeError: 'Terminal' object has no attribute 'process'
I'm on macOS, version 12.0.1, running Sublime Text, build 4125. I have the following build system defined in my project.
and it works great. I tried to migrate this to Terminus by changing my setup to the following instead.
but it doesn't work. Upon running with this new configuration, I'm greeted with a blank pane. See image below.
and the Sublime console spits out the following information: