summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-13 07:19:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-13 07:19:28 -0700
commit4b308561021d4dedd7e83e5df30534d1fdde2216 (patch)
tree5dfe9d9f3463b3d819387618e1dc6005d831aec9 /lib.h
parent1684fc0bedfa9fa9a5a7a22d6fb44e660a203a1c (diff)
downloadtxr-4b308561021d4dedd7e83e5df30534d1fdde2216.tar.gz
txr-4b308561021d4dedd7e83e5df30534d1fdde2216.tar.bz2
txr-4b308561021d4dedd7e83e5df30534d1fdde2216.zip
Observe display width in format.
Take into account string display width in field trimming and padding calculations, including situations where only half a character fits. * stream.c (calc_fitlen): New function. (vformat_str): Revised to use calc_fitlen. If calc_fitlen indicates that there is no trimming or padding, then use put_string rather than put_char. * txr.1: Update description of format with regard to use of dispaly width in field calculations.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions