Answer prose round 1: name the parent after .., mark the step down as the one exception to the shared draw, and plainer errors

This commit is contained in:
2026-10-05 00:18:46 +02:00
committed by Lillem4n
parent 406232e8f9
commit ec1dcbf9d3
8 changed files with 26 additions and 22 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ import "strings"
// drawMemo is what a hold, a draw group or a named pick has drawn: the variant each level was
// drawn as, so every path under it reads one variant; the value each read produced, by its path,
// so the same read written twice reads one value; the frames a read opens for the name
// scopes around where it lands (enter); and the rows drawn below each step up stepped down from.
// scopes around where it lands (enter); and the rows drawn by each step down after a "..", by level.
type drawMemo struct {
variant map[string]node
value map[string]readValue
@@ -13,8 +13,8 @@ type drawMemo struct {
steppedDown map[string]*pinSet
}
// stepDownPins is the pins a path steps down into after stepping up to t, at the level at: kept
// in m where there is one, so every path stepping down there reads one draw.
// stepDownPins is the pins a path steps down into after stepping up to t: kept in m where there
// is one, so every path stepping down there reads one draw.
func (m *drawMemo) stepDownPins(pins *pinSet, t *table, levels []string, at int) *pinSet {
if m == nil {
return pins.above(t)