Skip to main content

Functions related to terminals.

Project description

ttysize(fd)

return a namedtuple (rows, columns) with the current terminal size; UNIX only (uses the stty command)

statusline(text,...)

update the terminal status line with text

statusline_bs(text,...)

return a byte string to update the terminal status line with text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cs.tty-20170903.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file cs.tty-20170903.tar.gz.

File metadata

  • Download URL: cs.tty-20170903.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cs.tty-20170903.tar.gz
Algorithm Hash digest
SHA256 ab9aac230ed1eb5492549b5664e1806580e672a5a838ea7074e0badbe255c704
MD5 14f45f017c3556ddc7ba3e747404087a
BLAKE2b-256 ab629eb87486d9fcd5713c4d12c2312c4773ea2ac21dc0ddc0f919a8785785f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page