Skip to main content

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.

Release files for tdim 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tdim 0.3.0
File Size Uploaded
tdim-0.3.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tdim 0.3.0
File Interpreter ABI Platform
tdim-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / tdim-0.3.0.tar.gz

Download URL tdim-0.3.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
070c565894049a223ef087edfc2ddaae7c76b7ef62efdd221955a2858989facc
BLAKE2b-256 checksum
How to use checksums
3f80eacd95f4b42182daade61b2f0ad607868c7db1aab54852e5dc8d39f1c0f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / tdim-0.3.0-py3-none-any.whl

Download URL tdim-0.3.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fa1f3847c7b7ad2494dc5e27b2fe26b5d4537dcd60f5d475eb625a2386d5768
BLAKE2b-256 checksum
How to use checksums
6e3400b75ae5a859a711af6b8a6e7cadcf721e39fe5142c22beda94aabe6833a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.9

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page