This commit is contained in:
cruldra committed 2026-06-24 02:32:22 +08:00
1 parent e6f1776d4f
commit 495e961e53
6 files changed
+966 -40

No files matched your search

+5
View File
@@ -191,6 +191,11 @@ func (m Model) cursorOnFile() (int, bool) {
func (m Model) handlePRCommitsKey(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
switch msg.String() {
case "esc":
if m.prCommitsReturn != stateLoading {
m.state = m.prCommitsReturn
m.prCommitsReturn = stateLoading
return m, nil
}
m.state = stateDetail
return m, nil