# File lib/highline/system_extensions.rb, line 43
      def terminal_size
        stdout_handle = GetStdHandle(STD_OUTPUT_HANDLE)
        
        bufx, bufy, curx, cury, wattr, left, top, right, bottom, maxx, maxy =
          GetConsoleScreenBufferInfo(stdout_handle)
        return right - left + 1, bottom - top + 1
      end