util: Internal utilities

invoke.util.pty_size()

Return local (stdout-based) pty size as (num_cols, num_rows) tuple.

If unable to determine (e.g. sys.stdout has been monkeypatched, or termios lacking TIOCGWINSZ) defaults to 80x24.

Previous topic

tasks: Task class & task-generating decorators

Next topic

Changelog

This Page