MCPcopy Index your code
hub / github.com/git-bug/git-bug / left

Method left

termui/show_bug.go:556–568  ·  view source on GitHub ↗
(g *gocui.Gui, v *gocui.View)

Source from the content-addressed store, hash-verified

554}
555
556func (sb *showBug) left(g *gocui.Gui, v *gocui.View) error {
557 if sb.isOnSide {
558 sb.isOnSide = false
559 sb.selected = ""
560 return sb.selectNext(g, v)
561 }
562
563 if sb.selected == "" {
564 return sb.selectNext(g, v)
565 }
566
567 return nil
568}
569
570func (sb *showBug) right(g *gocui.Gui, v *gocui.View) error {
571 if !sb.isOnSide {

Callers

nothing calls this directly

Calls 1

selectNextMethod · 0.95

Tested by

no test coverage detected