textual_wrapper.child

Helpers for child processes.

Classes:

ChildHelper([is_wrapper, parent_pid, ...])

Helpers for child processes.

namedtuple ChildHelper(is_wrapper=False, parent_pid=-1, sixel_supported=False)[source]

Bases: NamedTuple

Helpers for child processes.

Fields
  1.  is_wrapper (bool) – True if the app is running through the wrapper.

  2.  parent_pid (int) – The PID of the wrapper parent process.

  3.  sixel_supported (bool) – Whether sixels are supported by the wrapper’s terminal emulator.

__repr__()

Return a nicely formatted representation string

classmethod new()[source]

Create a new ChildHelper with values set from environment variables.

Return type

ChildHelper