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 <j.klemkow@wemelug.de>
Date:   Fri, 30 Sep 2016 23:34:44 +0200

add comments

Diffstat:
Mlchat.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 */