The function ncurses_mousemask() will return a mask to indicated which of the in parameter newmask The function ncurses_mousemask() will return a mask to indicated which of the in parameter newmask specified mouse events can be reported.
As a side effect, setting a zero mousemask in newmask turns off the mouse pointer. Setting a non zero value turns mouse pointer on.