summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-07-28 20:00:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-07-28 20:00:26 -0700
commit4f61ef03a2f9559d93ce43d5a5a5db86cbf33cd5 (patch)
tree36f3936c6d68cdb80406d5df7c93c6578124a1c5 /HACKING
parent0928a2c836681e9f0a91feda3fdae127bfca6b76 (diff)
downloadtxr-4f61ef03a2f9559d93ce43d5a5a5db86cbf33cd5.tar.gz
txr-4f61ef03a2f9559d93ce43d5a5a5db86cbf33cd5.tar.bz2
txr-4f61ef03a2f9559d93ce43d5a5a5db86cbf33cd5.zip
Centered fields in format.
* stream.c (enum align): New enum. (vformat_align_pre, vformat_align_post): New static functions. (vformat_num, vformat_str): Argument left renamed to align, and changed to enum align. vformat_align_pre and vformat_align_post are called to generate the correct padding for left, center and right alignment. (vformat): Two-valued local variable left turned into three-valued align. The ^ prefix on the width field is recognized. * txr.1: Documented ^ width prefix.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions