Commit 2ab3d2e665

2ab3d2e66586be63b3349cef4fa63fab91f65657

parent: b610d1cb03

Verified · cmc

cmc <hello@cleberg.net> · 2026-08-20 17:06 UTC

fix: verbiage

Layout: unified · split

content/blog/2026-08-20-nfogen.org +4 −4
@@ -270,10 +270,10 @@ rows and columns.
270** Width 270** Width
271 271
272The first issue I ran into was determining the width to use. I settled on 79 272The first issue I ran into was determining the width to use. I settled on 79
273characters, with border characters at both ends, because 80-column terminals, 273characters, border characters included, because terminals were 80 columns wide
274minus one so the line doesn't wrap when a terminal auto-wraps at exactly 80. 274and a line that hits exactly 80 wraps on its own. This means that my script
275This means that my script needs to perform some math to calculate wrapping, 275needs to perform some math to calculate wrapping, padding, and centering of text
276padding, and centering of text throughout. 276throughout.
277 277
278The math is relatively simple because CP437 is single-byte and single-width, 278The math is relatively simple because CP437 is single-byte and single-width,
279which means I can write functions that depend on that one-to-one correlation 279which means I can write functions that depend on that one-to-one correlation