]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mbsalign: add support for SCS escape sequences
authorWanBingjiang <wanbingjiang@webray.com.cn>
Tue, 17 Mar 2026 02:17:15 +0000 (10:17 +0800)
committerWanBingjiang <wanbingjiang@webray.com.cn>
Tue, 17 Mar 2026 02:32:53 +0000 (10:32 +0800)
commit920e308a9f97deb566d63baf10334976c0568614
tree6b08bc3abd8758321fb8c5f73e8061b210fc111d
parentcb6ecb36af1c653e59577f9e9bbaa0e2f132cd6b
mbsalign: add support for SCS escape sequences

Add handling for SCS (Select Character Set) escape sequences:
\e(X, \e)X, \e*X, \e+X. These sequences are now properly skipped
when calculating string width.

Addresses: https://github.com/util-linux/util-linux/issues/4121
Signed-off-by: WanBingjiang <wanbingjiang@webray.com.cn>
lib/mbsalign.c