From a97e6b1963ab9d1943318f992a0208e4b222323e Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 10 May 2024 19:59:59 -0700 Subject: [PATCH] Removed check for empty input --- src/modal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modal.c b/src/modal.c index dcdbd88..226e61b 100644 --- a/src/modal.c +++ b/src/modal.c @@ -96,7 +96,6 @@ device_read(void) char c, *origin = dst_; while(fread(&c, 1, 1, stdin) && c >= ' ') *dst_++ = c; if(feof(stdin)) dst_ = copy("EOF", dst_, 3); - if(dst_ - origin == 0) dst_--; } static char *