Command: CMakeStopRunner not working when using toggleterm.
n-cho opened this issue · 1 comments
n-cho commented
Bug description
CMakeStopRunner does not kill the process when using toggleterm as runner & executor.
Steps to reproduce
- Set
cmake_executor = { name = "toggleterm" }
andcmake_runner = { name = "toggleterm" }
inopts
- Generate CMake project with the following
CMakeLists.txt
and a blankmain.cpp
file.
cmake_minimum_required(VERSION 3.13)
project(TESTPROJECT)
set(CMAKE_CXX_STANDARD 14)
set(SOURCE_FILES main.cpp)
add_executable(TESTPROJECT ${SOURCE_FILES})
- Run a program in
main.cpp
that doesn't end automatically. For example ...
#include <iostream>;
int main() {
char s[] = "";
std::cin >> s;
return 0;
}
- Try to use
CMakeStopRunner
to kill the process before it finishes.
Minimal configuration
- Use NvChad v2.5.
- Install
toggleterm
andcmake-tools
usinglazy.nvim
.
Expected behavior
The command does not kill the process.
Screenshots
Environment
- OS: macOS Sonoma v14.3.1
- Desktop environment:
- Plugins commit hash:
Contents in the *cmake-tools* buffer
Civitasv commented
Use the latest commit, I've fixed it.