xonsh.shells.ptk_shell.formatter

PTK specific PromptFormatter class.

class xonsh.shells.ptk_shell.formatter.PTKPromptFormatter(shell)[source]

A subclass of PromptFormatter to support rendering prompt sections with/without threads.

start_update()[source]

Start listening on the prompt section futures.