A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ipython.readthedocs.io/en/latest/api/generated/IPython.utils.terminal.html below:

Website Navigation


utils.terminal — IPython 9.5.0.dev documentation

Important

This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.

If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).

Module: utils.terminal

Utilities for working with terminals.

Authors:

4 Functions
IPython.utils.terminal.toggle_set_term_title(val)

Control whether set_term_title is active or not.

set_term_title() allows writing to the console titlebar. In embedded widgets this can cause problems, so this call can be used to toggle it on or off as needed.

The default state of the module is for the function to be disabled.

Parameters:

val (bool) – If True, set_term_title() actually writes to the terminal (using the appropriate platform-specific module). If False, it is a no-op.

IPython.utils.terminal.set_term_title(title)

Set terminal title using the necessary platform-dependent calls.

IPython.utils.terminal.restore_term_title()

Restore, if possible, terminal title to the original state

IPython.utils.terminal.get_terminal_size(defaultx: int = 80, defaulty: int = 25) tuple[int, int]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4