Gather the pick key's load and render sides in pick.go, and name each thing for what it is
This commit is contained in:
@@ -111,9 +111,3 @@ func (env renderEnv) drawRowOf(s *drawstate.State, t *table) int {
|
||||
}
|
||||
return t.rows.Draw(s)
|
||||
}
|
||||
|
||||
// keeps reports whether a read of env's name addresses the level a starts at.
|
||||
func (env renderEnv) keeps(a arm) bool {
|
||||
_, kept := env.pick.named.addressed[env.pickAt.under(a.levels[0])]
|
||||
return kept
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user