Issue
I'm trying to use ncurses in my C program, but it doesn't work with CLion's built-in console. From what I've gathered, in order to make the output appear in the gnome terminal, I have to select it in the Configure Debug screen, but I can't seem to find the gnome-terminal file anywhere - the most I could find are the gnome-keyring and gnome-www-browser files. Where should I look for the necessary file on a standard Debian install?
Solution
In the "Run/Debug Configurations" dialog
and change the executable to any custom executable, like for example the gnome terminal and then pass the your program as an argument:
Note that once your program exits or returns from main
then the terminal will close as well.
Answered By - Some programmer dude Answer Checked By - Marie Seifert (WPSolving Admin)