Gets the current cursor attribute.
#include <graph.h>
short __far _gettextcursor( void );
The _gettextcursor function returns the current cursor attribute (i.e., the shape). This function works only in text video modes.
The function returns the current cursor attribute, or –1 if an error occurs (such as a call to the function in a graphics mode).
Standards:None
16-Bit:DOS
32-Bit:None
_displaycursor, _grstatus, _settextcursor
See the example for _settextcursor.