class_docstr: Typical usage:
  
  ::
  
      output = Vt100_Output.from_pty(sys.stdout)
      r = Renderer(style, output)
      r.render(app, layout=...)
class_docstr_tok: ["Typical","usage",":",":",":","output","=","Vt100_Output.from_pty","(","sys.stdout",")","r","=","Renderer","(","style",",","output",")","r.render","(","app",",","layout=","...",")"]
docstr: To be called when we know the absolute cursor position.
  (As an answer of a "Cursor Position Request" response.)
docstr_tok: ["To","be","called","when","we","know","the","absolute","cursor","position",".","(","As","an","answer","of","a","``","Cursor","Position","Request","''","response",".",")"]
code: def report_absolute_cursor_row(self, row: int) -> None:
      """
      To be called when we know the absolute cursor position.
      (As an answer of a "Cursor Position Request" response.)
      """
      self.cpr_support = CPR_Support.SUPPORTED
  
      # Calculate the amount of rows from the cursor position until the
      # bottom of the terminal.
      total_rows = self.output.get_size().rows
      rows_below_cursor = total_rows - row + 1
  
      # Set the minimum available height.
      self._min_available_height = rows_below_cursor
  
      # Pop and set waiting for CPR future.
      try:
          f = self._waiting_for_cpr_futures.popleft()
      except IndexError:
          pass  # Received CPR response without having a CPR.
      else:
          f.set_result(None)
  
imports: from __future__ import annotations
  from asyncio import FIRST_COMPLETED, Future, ensure_future, sleep, wait
  from collections import deque
  from enum import Enum
  from typing import TYPE_CHECKING, Any, Callable, Dict, Hashable
  from prompt_toolkit.application.current import get_app
  from prompt_toolkit.cursor_shapes import CursorShape
  from prompt_toolkit.data_structures import Point, Size
  from prompt_toolkit.filters import FilterOrBool, to_filter
  from prompt_toolkit.formatted_text import AnyFormattedText, to_formatted_text
  from prompt_toolkit.layout.mouse_handlers import MouseHandlers
  from prompt_toolkit.layout.screen import Char, Screen, WritePosition
  from prompt_toolkit.output import ColorDepth, Output
  from prompt_toolkit.styles import Attrs, BaseStyle, DummyStyleTransformation, StyleTransformation
label_desc: Use image node_id 7 for calling the Renderer obj's underlying member method code with example usage: obj.report_absolute_cursor_row(row) without return types