Join the community today
Register Now

Beta Branch raise DMOTD_FANCY column gate to 80 to match rule width in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 20, 2026.

  1. eva2000

    eva2000 Administrator Staff Member

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:46 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    raise DMOTD_FANCY column gate to 80 to match rule width in 140.00beta01

    The fancy heavy / light rules at _fancy_rule_heavy / _fancy_rule_light
    are 79 display columns wide, but the capability gate previously
    required only >= 75. Terminals at 75-79 columns would pass the gate
    and then visually wrap every separator line.


    - Extract the threshold as _DMOTD_FANCY_MIN_COLS=80 (matches rule
    width with 1 column of margin)
    - Update the gate test to use the constant
    - Update inline comments to match the new floor

    Users on terminals narrower than 80 columns now fall back cleanly to
    compact-plain rendering instead of getting broken fancy separators.

    Continue reading...

    140.00beta01 branch