]> git.armaanb.net Git - st.git/commit
optimize column width calculation and utf-8 encode for ASCII
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 9 May 2020 12:03:14 +0000 (14:03 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 9 May 2020 12:11:25 +0000 (14:11 +0200)
commitcde480c6939e62771ba3b60ef4eb848031aee9f9
treec6fa193ace7dff9b5d44cc696b8a90ba67ef68aa
parent8211e36d281990a39db1853bcd454ac59e53d521
optimize column width calculation and utf-8 encode for ASCII

In particular on OpenBSD and on glibc wcwidth() is quite expensive.
On musl there is little difference.
st.c