We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7197cb0 commit 821d050Copy full SHA for 821d050
kirc.c
@@ -18,7 +18,7 @@
18
#include <sys/ioctl.h>
19
20
#define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING"
21
-#define VERSION "0.2.8"
+#define VERSION "0.2.9"
22
#define MSG_MAX 512
23
#define CHA_MAX 200
24
#define NIC_MAX 26
@@ -303,7 +303,7 @@ static void refreshLine(struct State *l) {
303
posu8--;
304
}
305
while (txtlenb < lenb && ch++ < l->cols)
306
- txtlenb += u8Next(buf, 0);
+ txtlenb += u8Next(buf + txtlenb, 0);
307
abInit(&ab);
308
snprintf(seq, sizeof(seq), "\r");
309
abAppend(&ab, seq, strnlen(seq, MSG_MAX));
0 commit comments