char * current_mode()
Returns the name of the current window mode in a new allocated string.
Attention Be careful, the string is allocated each time the function is called, use free() to release it.