diff --git a/pkg/gui/patch_exploring/state.go b/pkg/gui/patch_exploring/state.go index 730deb0c1..03c933c7e 100644 --- a/pkg/gui/patch_exploring/state.go +++ b/pkg/gui/patch_exploring/state.go @@ -112,7 +112,7 @@ func (s *State) SelectingHunk() bool { } func (s *State) SelectingRange() bool { - return s.selectMode == RANGE + return s.selectMode == RANGE && (s.rangeIsSticky || s.rangeStartLineIdx != s.selectedLineIdx) } func (s *State) SelectingLine() bool {