**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Focus a commit and run "edit commit" **Expected behavior** Once the rebase begins, the selected commit should still have focus. **Screenshots** Actual behavior: once the rebase begins, the selected commit loses focus. I believe this happens because `update-refs` is inserted as a list item above. https://github.com/jesseduffield/lazygit/assets/921609/3a6cbc9b-2d9b-4d61-b79a-9b5eefd61739 **Version info:** commit=, build date=, build source=nix, version=0.39.4, os=darwin, arch=arm64, git version=2.40.1 git version 2.40.1