I’m getting asked how it’s possible to draw those boxes in the terminal. Anyone hazard a guess as to how it’s done?
Documenting "box-sizing: content-box" and "box-sizing: border-box"

Can't tell you what a PITA those were to implement.
8
0
18
Replying to @willmcgugan
@willmcgugan I'd guess these en.m.wikipedia.org/wiki/Box-drawi…

APL uses them to draw neat boxes around their arrays, it's just they're uncoloured:

`'hey',⊂⍳2 3` @tryaplbot
2
0
3
Replying to @mathsppblog
@mathsppblog @tryaplbot Good guess. But how would you render a corner with an inside color, a line color, and an outside color? Given the terminal has only foreground and background colors per character?
4
0
2
Replying to @willmcgugan
@willmcgugan @mathsppblog @tryaplbot Is the line exactly at the edge of the character, so the outside color is a different character cell?
1
0
1
Replying to @justvanrossum
@justvanrossum @mathsppblog @tryaplbot Not sure what you mean there. Draw a sketch?
1
0
0
Replying to @willmcgugan

Jul 31, 2022 · 10:56 AM UTC

2
0
3
RepliesRelevant
Replying to @justvanrossum
@justvanrossum @mathsppblog That’s close, but there is no character like you have at B.
1
0
1
Replying to @justvanrossum
@justvanrossum @willmcgugan @mathsppblog I would guess the same. ☝️
0
0
0