From 7f063f3fe81bcc3565d471e1b729e9771e2d3e1c Mon Sep 17 00:00:00 2001 From: giovannipozzobon Date: Tue, 10 Sep 2024 23:06:04 +0200 Subject: [PATCH] Issue #65 Problem with cinput --- src/conio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conio.c b/src/conio.c index 6617408..84da7b6 100644 --- a/src/conio.c +++ b/src/conio.c @@ -714,7 +714,8 @@ unsigned char cinput( } while (1) { - cputsxy(sx, sy, buffer); + if (strlen(buffer) != 0) + cputsxy(sx, sy, buffer); blink(1); cputc(224); blink(0);