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.

  • stembolts@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    4 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?