I want to solve a pretty easy problem. I just want to detect a mouse click under Ubuntu Server(without GUI respectively windows management). Therefore, I use Ncurses and following code snippet, but it doesn't detect any mouse actions. I looked up the web for 2 days now without success. would be great to get your help.
The wgetch() function is for windows use only, right? since I have no window in the terminal mode this one will not work.
The button itself doesn't make a big difference a, I tried every button and still no output.