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 *