add comments - lchat - A line oriented chat front end for ii.
HTML git clone git://git.suckless.org/lchat
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit a8eafb10172954ce261f9b8ea9693c2ac46c6eaf
DIR parent 05e5cd1feb9291e96d0ca6a211187a22cab80d2d
HTML Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Fri, 30 Sep 2016 23:34:44 +0200
add comments
Diffstat:
M lchat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR 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 */