diff options
Diffstat (limited to 'pkg/gui/lbl/focus.go')
-rw-r--r-- | pkg/gui/lbl/focus.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/lbl/focus.go b/pkg/gui/lbl/focus.go index ea70fbb3d..780551e5d 100644 --- a/pkg/gui/lbl/focus.go +++ b/pkg/gui/lbl/focus.go @@ -47,6 +47,7 @@ func getNeedAndWantLineIdx(firstLineIdx int, lastLineIdx int, selectedLineIdx in case HUNK: return firstLineIdx, lastLineIdx default: + // we should never land here panic("unknown mode") } } |