def get_title():
MAX_LEN = <NUM_LIT><EOL>buffer_ = create_unicode_buffer(MAX_LEN)<EOL>kernel32.GetConsoleTitleW(buffer_, MAX_LEN)<EOL>log.debug('<STR_LIT:%s>', buffer_.value)<EOL>return buffer_.value<EOL>
Returns console title string.

        https://docs.microsoft.com/en-us/windows/console/getconsoletitle