mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
This modernizes the function a bit, and adds some bits: 1. whether to show numbers before entries is now optional, and if they are shown they are displayed in grey. 2. a common prefix can now be grayed out (later useful for completion support) 3. some variables have been named to clarify their purpose 4. the table display dimensions can now be auto-sized (by specifying SIZE_MAX and number of columns and column width)