From: Aurélien Aptel Date: Thu, 14 May 2009 22:39:51 +0000 (+0200) Subject: tab moves the cursor instead of inserting spaces. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=a866108af2c6c008e37a32c61cee931efa5e4f9a;p=st.git tab moves the cursor instead of inserting spaces. --- diff --git a/st.c b/st.c index 79fb161..c24bb1d 100644 --- a/st.c +++ b/st.c @@ -566,7 +566,7 @@ tputtab(void) { space--; for(; space > 0; space--) - tputc(' '); + tcursor(CSright); } void