Page MenuHomeFreeBSD

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

Authored by asiciliano on Apr 3 2022, 1:36 AM.
Tags
None
Referenced Files
F102851912: D34757.diff
Mon, Nov 18, 12:15 AM
Unknown Object (File)
Thu, Nov 14, 8:04 PM
Unknown Object (File)
Thu, Nov 14, 7:47 PM
Unknown Object (File)
Tue, Oct 29, 3:47 PM
Unknown Object (File)
Oct 7 2024, 12:51 AM
Unknown Object (File)
Oct 1 2024, 6:59 PM
Unknown Object (File)
Oct 1 2024, 5:32 PM
Unknown Object (File)
Oct 1 2024, 5:32 PM
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