aboutsummaryrefslogtreecommitdiff
path: root/lib/linestack.c
AgeCommit message (Collapse)Author
2018-07-19Tweak/add some comments.Rob Landley
2017-09-02utf8towc() has to be in lib.c if strlower() is going to use it, becauseRob Landley
scripts/*.c builds against lib.c but not linestack.c.
2017-09-02In wc, replace mbrtowc() with new utf8towc() which doesn't have a context structRob Landley
or care about locale.
2017-01-28Fix padto in draw_trim_esc() so it behaves like printf %*.*s and matches theRob Landley
comment (I.E. negative first value _left_ justifies). This makes ps display the same truncated values with and without a tty. Also add a few comments to the rest of the file.
2016-10-20Allow out and escout to be NULL in crunch_str()Rob Landley
2016-03-15Add ls -b and make ls -q work with utf8.Rob Landley
2016-02-25Typecast a printf argument because wchar_t isn't a rigidly defined size.Rob Landley
2016-01-17Extend utf8 fontmetrics so ps can use them.Rob Landley
Also, I forgot to check in uuid_show() last time.
2016-01-17Update draw_str() and friends to do standard escaping for ^X <AB> U+ABCD.Rob Landley
2015-12-27Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY,Rob Landley
and add test_scankey.
2015-12-23Factor out draw_str() and friends.Rob Landley