Page MenuHomeFreeBSD

bsddialog(1): Improve --hline (help subtitle)
ClosedPublic

Authored by asiciliano on Apr 3 2022, 1:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 16 2024, 10:20 AM
Unknown Object (File)
Dec 25 2023, 4:11 PM
Unknown Object (File)
Dec 23 2023, 12:37 AM
Unknown Object (File)
Dec 12 2023, 12:22 PM
Unknown Object (File)
Nov 26 2023, 5:08 AM
Unknown Object (File)
Nov 24 2023, 8:55 PM
Unknown Object (File)
Nov 22 2023, 10:58 AM
Unknown Object (File)
Nov 22 2023, 12:33 AM
Subscribers

Details

Summary

Improvement for bsdconfig(8): avoid to draw delimiters (or spaces) on the bottom line if --hline is an empty string.

Test Plan

Before:

% bsddialog --hline "" --yesno test 0 0

┌───────────────────┐
│ test              │  
├───────────────────┤  
│[ Yes  ]   [  No  ]│  
└────────  ─────────┘

The problem is on the bottom line.

After the review
% bsddialog --hline "" --yesno test 0 0

┌───────────────────┐
│ test              │  
├───────────────────┤  
│[ Yes  ]   [  No  ]│  
└───────────────────┘

All right.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped