st
simple terminal
git clone https://9o.is/git/st.git
commit 1fca6e604c0132acc3d3a7526f55d31ac95ebbe7 parent 544baab9fd1d23ac02a2b5501d200ebb6ffb87b2 Author: Christoph Lohmann <20h@r-36.net> Date: Wed, 2 Apr 2014 09:26:28 +0200 Fixing a compiler warning with the assignment. Diffstat:
| M | st.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c @@ -1257,7 +1257,7 @@ ttyread(void) { /* process every complete utf8 char */ buflen += ret; ptr = buf; - while(charsize = utf8decode(ptr, &unicodep, buflen)) { + while((charsize = utf8decode(ptr, &unicodep, buflen))) { utf8encode(unicodep, s, UTF_SIZ); tputc(s, charsize); ptr += charsize;