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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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