Skip to main content

A simple tool for displaying terminal dimensions

Project description

tdim - Show and help size terminal dimensions

A simple tool to help when I want to size any terminal "just so".

Installation

pipx

The package can be installed using pipx:

$ pipx install tdim

Homebrew

The package is available via Homebrew. Use the following commands to install:

$ brew tap davep/homebrew
$ brew install tdim

Usage

To run the tool, just run tdim. Once you run it up you'll see a simple display of the dimensions of your terminal. Resize your terminal and be amazed as the numbers change!

You can show/hide a border by pressing b.

To aim seeking a specific aspect ratio, a number of keys are set up for common ones. When pressed the border will be shown, the width set to the width of your terminal at that moment, and then height to the corresponding target height for that ratio.

The keys are:

Key Ratio
0 Clear target ratio
1 16 x 9
2 4 x 3
3 2 x 1
4 1 x 1

To exit the application press Esc.

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

tdim-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

tdim-0.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file tdim-0.3.0.tar.gz.

File metadata

  • Download URL: tdim-0.3.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for tdim-0.3.0.tar.gz
Algorithm Hash digest
SHA256 070c565894049a223ef087edfc2ddaae7c76b7ef62efdd221955a2858989facc
MD5 be119260ccb65dbceb495e0a91aedf64
BLAKE2b-256 3f80eacd95f4b42182daade61b2f0ad607868c7db1aab54852e5dc8d39f1c0f4

See more details on using hashes here.

File details

Details for the file tdim-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: tdim-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for tdim-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fa1f3847c7b7ad2494dc5e27b2fe26b5d4537dcd60f5d475eb625a2386d5768
MD5 532bf35e6bdaf3e823c0ef98d31eac44
BLAKE2b-256 6e3400b75ae5a859a711af6b8a6e7cadcf721e39fe5142c22beda94aabe6833a

See more details on using hashes here.

Supported by

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