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

bundles / IPython 9.12.0 / IPython / utils / terminal / toggle_set_term_title

function

IPython.utils.terminal:toggle_set_term_title

source: /IPython/utils/terminal.py :37

Signature

def   toggle_set_term_title ( val : bool )

Summary

Control whether set_term_title is active or not.

Extended Summary

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.

Aliases

  • IPython.terminal.interactiveshell.toggle_set_term_title