9

A simple question with an easy answer: how many characters long is your terminal in full screen? I am working on a torrent searching script, and I am interested in the statistical max dimensions of a terminal. Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[-] stembolts@programming.dev 1 points 6 days ago* (last edited 6 days ago)

Use relative positioning. Question becomes obsolete and UI scales itself. It is a hard problem tho. I was introduced to this via Kotlin Compose philosophy, aka, "parents don't dictate size, children do". If that makes sense.

If you don't do relative sizing, wouldn't your terminal "max-width" scale with resolution?

[-] christos@lemmy.world 2 points 6 days ago

Thx, you are correct. I now think I have resolved the issue.

this post was submitted on 16 Sep 2026
9 points (100.0% liked)

commandline

2236 readers
12 users here now

founded 3 years ago
MODERATORS