vaxis

created pr with 49.1 on 2025-03-02T14:19:50Z · by c8ef7d19
cmds
checkout latest patchset:
ssh pr.pico.sh print 49 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print 49.[rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 49

Patchset 49.1 on 2025-03-02T14:19:50Z · commit 60a28c7

feat(vxfw/list): ability to set cursor
Eric Bower 2025-03-02T14:18:48Z
This allows end-developers the ability to set the currently selected
list item.
Semantic diff summary
1 added, 0 modified, 0 signature changed, 0 removed across 1 analyzed file
+5 -0 vxfw/list/list.go #
......@@ -40,6 +40,11 @@ type scroll struct {
4040 wantsCursor bool
4141 }
4242
43+func (d *Dynamic) SetCursor(c uint) {
44+ d.cursor = c
45+ d.ensureScroll()
46+}
47+
4348 func (d *Dynamic) CaptureEvent(ev vaxis.Event) (vxfw.Command, error) {
4449 if d.DisableEventHandlers {
4550 return nil, nil
Back to top