Re: help builtin generates unaligned results for multicolumn widechars.

2015-08-25 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/22/15 9:59 AM, Mingye Wang (Arthur2e5) wrote: > Version: <= 4.4-alpha > > In bash's `help.def' builtin, wdispcolumn() is used to display `help' > columns. It terminates the string at wcstr[width - 1], with a comment > that assmues each wide chara

help builtin generates unaligned results for multicolumn widechars.

2015-08-22 Thread Mingye Wang (Arthur2e5)
Version: <= 4.4-alpha In bash's `help.def' builtin, wdispcolumn() is used to display `help' columns. It terminates the string at wcstr[width - 1], with a comment that assmues each wide character to be exactly one column wide. This works fine with most languages where widechars are, actually, one