neovim-cmake icon indicating copy to clipboard operation
neovim-cmake copied to clipboard

Add the ability to run program in built-in terminal

Open Civitasv opened this issue 2 years ago • 4 comments

Description

My C++ code includes cin, which need some input value, but I can't input in the CMake window. It simply cannot make changes.

Steps to reproduce

Below is a very simple example, it wants a input value, but I can't make any changes.

image

Civitasv avatar May 03 '22 13:05 Civitasv

You can't input data into a quickfix window, it not possible. You need to run your program directly in terminal.

Shatur avatar May 03 '22 13:05 Shatur

I see, but it's easier if I can directly run or debug my program after building.

Civitasv avatar May 04 '22 01:05 Civitasv

The only option is to run it in :terminal or any other terminal helper. We probably could add a feature for it.

Shatur avatar May 04 '22 07:05 Shatur

Will appreciate it!

Civitasv avatar May 04 '22 09:05 Civitasv