I'm trying to read which button was pressed from a console application, but I'm unsuccessful with 3rd (right) button.
After enabling mouse tracking with CSI ? 9 h, I get CSI M b x y, where b corresponds to 32 + button_no, but only for left and middle button. Third (right) button opens a pop-up windowmanager menu, and I'm unable to read it
I'm directly reading ESC sequences, don't want to use ncurses
Any suggestions?