It's possible, with ANSI codes, to modify the cursor shape (block, underscore or line) and whether it's blinking or not.
My program is doing just that. But, is it possible to get the cursor style so it can be restored later (when my program exits)?
One can get the cursor position and even mouse position with ANSI codes, but it seams to me that we can only set the cursor style and not retrieve it or even reset it to an older state.