Sublime Forum

Terminus C++ setup

#1

{
“shell_cmd”: “g++ “${file}” -o “${file_path}/${file_base_name}””,
“file_regex”: “^(…[^:]):([0-9]+):?([0-9]+)?:? (.)$”,
“working_dir”: “${file_path}”,
“selector”: “source.c++”,

"variants":
[
	{
		"name": "Run",
		"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\"",
		"interactive": true,
	}
]

}

I used this code to make the build and here under the variants block putting “interactive”: true does not allow me to enter an input in the terminus whereas remove it does

Shouldn’t it the opposite though? Like setting interactive to true should allow me to interact with terminus and enter the value then why is it not so

0 Likes

#2

The interactive parameter is specifically supported by ST’s default build runner, only.

Terminus is always interactive and does not require nor allow/support this parameter.

Terminus also doesn’t require the IO panel GUI as you can directly type into the output panel if needed.

0 Likes