class_docstr: Windows 10 output abstraction. This enables and uses vt100 escape sequences.
class_docstr_tok: ["Windows","10","output","abstraction",".","This","enables","and","uses","vt100","escape","sequences","."]
code: def __init__(
      self,
      stdout: TextIO,
      default_color_depth: ColorDepth | None = None,
  ) -> None:
      self.default_color_depth = default_color_depth
      self.win32_output = Win32Output(
          stdout, default_color_depth=default_color_depth
      )
      self.vt100_output = Vt100_Output(
          stdout,
          lambda: Size(0, 0),
          default_color_depth=default_color_depth,
      )
      self._hconsole = HANDLE(
          windll.kernel32.GetStdHandle(STD_OUTPUT_HANDLE)
      )
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/output/windows10.py
imports: from __future__ import annotations
  import sys
  from ctypes import byref, windll
  from ctypes.wintypes import DWORD, HANDLE
  from typing import Any, TextIO
  from prompt_toolkit.data_structures import Size
  from prompt_toolkit.win32_types import STD_OUTPUT_HANDLE
  from .base import Output
  from .color_depth import ColorDepth
  from .vt100 import Vt100_Output
  from .win32 import Win32Output
label_desc: Use image node_id 1 to create a new Windows10_Output object  with example: obj = Windows10_Output(stdout, default_color_depth)