code: def _get_title(self):
          
          #TODO: unicode support
          strbuffer = self.ctypes.create_string_buffer(1024)
          size = self.ctypes.c_short(1024)
          #unicode versions are (Get|Set)ConsolTitleW
          self.ctypes.windll.kernel32.GetConsoleTitleA(strbuffer, size)
          return strbuffer.value
docs: According to http://support.microsoft.com/kb/124103 the buffer
          size is 1024
          
          Does not support unicode, only ANSI