aboutsummaryrefslogtreecommitdiffstats
path: root/util/human
Commit message (Collapse)AuthorAgeFilesLines
* util.human.io: Consider separator when calculating remaining widthKim Alvefur2020-06-041-0/+3
|
* util.human.io: Use literal ellipsis instead of \u escapeKim Alvefur2020-06-041-1/+1
| | | | For compat with Lua 5.2 and before
* util.human.io: Replace overflow with ellipsisKim Alvefur2020-06-041-1/+3
|
* util.human.io: Draw a separator between columnsKim Alvefur2020-06-041-2/+3
|
* util.human.io: Remove padding option and use $COLUMNS as default widthMatthew Wild2020-06-041-4/+3
|
* util.human.units: Factor out function for getting multiplierKim Alvefur2020-06-041-9/+15
|
* util.human.io: table: Fix title printing when columns use named keysMatthew Wild2020-06-041-2/+3
|
* util.human.io: table: Return title row when no row data passedMatthew Wild2020-06-031-0/+5
|
* util.human.io: table: switch row function to simply returning prepared row ↵Matthew Wild2020-06-031-5/+6
| | | | string
* util.human.io: Add padleft, padright and a table printing functionMatthew Wild2020-06-031-0/+53
|
* util.human.units: Handle lack of math.log(n, base) on Lua 5.1Kim Alvefur2020-06-031-0/+8
|
* util.human.units: Put math functions into localsKim Alvefur2020-06-031-3/+9
| | | | | Primarily because the next commit will deal with math.log behaving differently on Lua 5.1 and that's eaiser with locals.
* util.human.units: Handle location of unpack() in Lua 5.1Kim Alvefur2020-06-031-1/+3
|
* util.human.units: A library for formatting numbers with SI unitsKim Alvefur2019-01-041-0/+58
|
* util.human.io: Fix variable name [luacheck]Matthew Wild2020-06-021-1/+1
|
* util.human.io: New central place for UI helpersMatthew Wild2020-06-021-0/+96