Open pcorbineau opened 3 days ago
What happens if you run the command directly but from within :term
?
The reproduction steps are incomplete - would need that test runner/app that produces the output you're getting.
What happens if you run the command directly but from within
:term
?
If I run my executable directly with next command for example. I got no color issue inside a the terminal.
:term build\Debug\tests\lib-gtest.exe
The reproduction steps are incomplete - would need that test runner/app that produces the output you're getting.
Sorry I' m quite new to neovim env.
I have a small sandbox project to test c++ test framework gtest, catch2 and doctest. I use Civitasv/cmake-tools.nvim to run CMakeGenerate
, CMakeBuild
. I usually runCMakeDebug
to automatically attach to dap my current target run ( instead of having to hand-type the path to executable to dap). As mentioned above, I use codelldb with common settings to debug cpp code. Does the bug come from codelldb, which gives nvimdap weird colors?
I don't think issue comes from Civitasv/cmake-tools.nvim cause I can run CMakeRun
(without dap attach) and got no color issue in term.
Debug adapter definition and debug configuration
Running on Windows 11, with Windows terminal.
I use default dap config to reproduce and use mason nvim dap with this config :
Debug adapter version
v1.10.0
Steps to Reproduce
Basically launch dap debug
Expected Result
expected result obtain using :terminal command and launching target manually without debugger :
Actual Result
I got background color on every colorscheme (I test habamax, catppuccin, tokyonight, onedark, ...) in the terminal output : As you can see above, the text is literally unreadable.