Merge branch 'master' of github.com:cookthebook/bytenuts

This commit is contained in:
Aaron Cook 2022-06-06 10:45:34 -05:00
commit f8bc3534fc

View file

@ -666,10 +666,6 @@ inbuf_load()
getyx(ingest.input, iy, ix);
/* nothing left to write... */
if (p >= ingest.inlen)
break;
/* print the cursor at this position */
if (p == ingest.inpos) {
cy = iy;
@ -677,6 +673,10 @@ inbuf_load()
hit_cursor = 1;
}
/* nothing left to write... */
if (p >= ingest.inlen)
break;
/* we want to leave a blank character for printing the cursor at the end of the line */
if (ix >= (win_len-2)) {
/* we printed the cursor, so we can break */