Rearrange code and make a faster sha256sum program

This commit is contained in:
Justine Tunney 2022-11-02 23:12:32 -07:00
parent 5e60e5ad10
commit 89d1e5b8f2
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
32 changed files with 933 additions and 517 deletions

View file

@ -57,6 +57,7 @@ ssize_t PrintPanels(int fd, long pn, struct Panel *p, long tyn, long txn) {
AppendChar(&b, ' ');
x += 1;
}
AppendFmt(&b, "\e[%d;%dH", y + 1, x + 1); // bsd utf-8 :(
while (x < p[i].right || j < l->i) {
wc = '\0';
width = 0;