Sat, 18 Mar 2017 20:50:15 +0900 templater: make pad() compute actual width
Yuya Nishihara <yuya@tcha.org> [Sat, 18 Mar 2017 20:50:15 +0900] rev 31520
templater: make pad() compute actual width str.ljust() and .rjust() are based on byte length, which are valid only for ASCII characters.
Sat, 18 Mar 2017 20:38:44 +0900 templater: reject bad fillchar argument passed to pad()
Yuya Nishihara <yuya@tcha.org> [Sat, 18 Mar 2017 20:38:44 +0900] rev 31519
templater: reject bad fillchar argument passed to pad() Otherwise TypeError would be raised.
(0) -30000 -10000 -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 +3000 +10000 tip