lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit b1db0ac6e9850a858120ac43596405208a3fc581
parent 91a0a6e7a10a089d8e3d734bb41dcad9bbd654a6
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Sun, 25 Oct 2015 14:13:23 +0100

fix line printing

Diffstat:
Mlchat.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lchat.c b/lchat.c @@ -58,7 +58,7 @@ main(void) while ((c = getchar()) != 13) { if (sl_keystroke(sl, c) == -1) errx(EXIT_FAILURE, "sl_keystroke"); - printf("c: %d: buf: %s\r\n", c, sl->buf); + printf("\r\033[2K%s", sl->buf); } puts("\r");