You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / page / _detect_screen_size

function

IPython.core.page:_detect_screen_size

source: /IPython/core/page.py :81

Signature

def   _detect_screen_size ( screen_lines_def )

Summary

Attempt to work out the number of lines on the screen.

Extended Summary

This is called by page(). It can raise an error (e.g. when run in the test suite), so it's separated out so it can easily be called in a try block.

Aliases

  • IPython.core.page._detect_screen_size