Introduction
Introduction Statistics Contact Development Disclaimer Help
add comments - lchat - A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log
Files
Refs
README
---
commit a8eafb10172954ce261f9b8ea9693c2ac46c6eaf
parent 05e5cd1feb9291e96d0ca6a211187a22cab80d2d
Author: Jan Klemkow <[email protected]>
Date: Fri, 30 Sep 2016 23:34:44 +0200
add comments
Diffstat:
M lchat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lchat.c b/lchat.c
@@ -276,8 +276,8 @@ main(int argc, char *argv[])
/* moves cursor back after linewrap */
if (loverhang > 0) {
- fputs("\r\033[2K", stdout);
- printf("\033[%zuA", loverhang);
+ fputs("\r\033[2K", stdout); /* cr + ... */
+ printf("\033[%zuA", loverhang); /* x times UP */
}
/* carriage return and erase the whole line */
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.