class_docstr: I/O abstraction for rendering to Windows consoles.
  (cmd.exe and similar.)
class_docstr_tok: ["I\/O","abstraction","for","rendering","to","Windows","consoles",".","(","cmd.exe","and","similar",".",")"]
docstr: Make stdout again the active buffer.
docstr_tok: ["Make","stdout","again","the","active","buffer","."]
code: def quit_alternate_screen(self):
      """
      Make stdout again the active buffer.
      """
      if self._in_alternate_screen:
          stdout = HANDLE(
              self._winapi(
                  windll.kernel32.GetStdHandle, STD_OUTPUT_HANDLE
              )
          )
          self._winapi(
              windll.kernel32.SetConsoleActiveScreenBuffer, stdout
          )
          self._winapi(windll.kernel32.CloseHandle, self.hconsole)
          self.hconsole = stdout
          self._in_alternate_screen = False
  
imports: from __future__ import unicode_literals
  from ctypes import windll, byref, ArgumentError, c_char, c_long, c_ulong, c_uint, pointer
  from ctypes.wintypes import DWORD, HANDLE
  from prompt_toolkit.renderer import Output
  from prompt_toolkit.styles import ANSI_COLOR_NAMES
  from prompt_toolkit.win32_types import CONSOLE_SCREEN_BUFFER_INFO, STD_OUTPUT_HANDLE, STD_INPUT_HANDLE, COORD, SMALL_RECT
  import os
  import six
label_desc: Use image node_id 28 for calling the Win32Output obj's underlying member method code with example usage: obj.quit_alternate_screen() without return types