Commit Diff
- Commit:
94ecf40da5315d7cb59ff90ac23614ac0f2a4f3a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- tog: reset view->offset when clearing log view state Don't move the selection cursor due to a bogus offset after closing child views following use of 'B', C-l, and backspace log view key maps. ok stsp@
- Actions:
- Patch | Tree
--- tog/tog.c +++ tog/tog.c @@ -3465,6 +3465,7 @@ input_log_view(struct tog_view **new_view, struct tog_ s->thread_args.commits_needed = view->lines; s->matched_entry = NULL; s->search_entry = NULL; + view->offset = 0; break; case 'r': view->count = 0;